tab: add method to set tap.

This commit is contained in:
Mike McQuaid 2015-05-27 09:57:41 +01:00
parent ef08db539b
commit f55257306e

View File

@ -170,6 +170,10 @@ class Tab < OpenStruct
source["tap"]
end
def tap=(tap)
source["tap"] = tap
end
def to_json
attributes = {
"used_options" => used_options.as_flags,