Class: Qcmd::QLab::Workspace
- Inherits:
-
Object
- Object
- Qcmd::QLab::Workspace
- Defined in:
- lib/qcmd/qlab/workspace.rb
Overview
“uniqueID”: string,
"displayName": string
"hasPasscode": number
Instance Attribute Summary collapse
-
#cue_lists ⇒ Object
Returns the value of attribute cue_lists.
-
#cues ⇒ Object
Returns the value of attribute cues.
-
#data ⇒ Object
Returns the value of attribute data.
-
#passcode ⇒ Object
Returns the value of attribute passcode.
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(options = {}) ⇒ Workspace
constructor
A new instance of Workspace.
- #name ⇒ Object
- #passcode? ⇒ Boolean
Constructor Details
#initialize(options = {}) ⇒ Workspace
Returns a new instance of Workspace.
11 12 13 |
# File 'lib/qcmd/qlab/workspace.rb', line 11 def initialize ={} self.data = end |
Instance Attribute Details
#cue_lists ⇒ Object
Returns the value of attribute cue_lists.
9 10 11 |
# File 'lib/qcmd/qlab/workspace.rb', line 9 def cue_lists @cue_lists end |
#cues ⇒ Object
Returns the value of attribute cues.
9 10 11 |
# File 'lib/qcmd/qlab/workspace.rb', line 9 def cues @cues end |
#data ⇒ Object
Returns the value of attribute data.
9 10 11 |
# File 'lib/qcmd/qlab/workspace.rb', line 9 def data @data end |
#passcode ⇒ Object
Returns the value of attribute passcode.
9 10 11 |
# File 'lib/qcmd/qlab/workspace.rb', line 9 def passcode @passcode end |
Instance Method Details
#id ⇒ Object
23 24 25 |
# File 'lib/qcmd/qlab/workspace.rb', line 23 def id data['uniqueID'] end |
#name ⇒ Object
15 16 17 |
# File 'lib/qcmd/qlab/workspace.rb', line 15 def name data['displayName'] end |
#passcode? ⇒ Boolean
19 20 21 |
# File 'lib/qcmd/qlab/workspace.rb', line 19 def passcode? !!data['hasPasscode'] end |