Class: Seatsio::Domain::Workspace
- Inherits:
-
Object
- Object
- Seatsio::Domain::Workspace
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(data) ⇒ Workspace
constructor
A new instance of Workspace.
Constructor Details
#initialize(data) ⇒ Workspace
Returns a new instance of Workspace.
170 171 172 173 |
# File 'lib/seatsio/domain.rb', line 170 def initialize(data) @id = data['id'] @key = data['key'] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
168 169 170 |
# File 'lib/seatsio/domain.rb', line 168 def id @id end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
168 169 170 |
# File 'lib/seatsio/domain.rb', line 168 def key @key end |