Class: Seatsio::Workspace
- Inherits:
-
Object
- Object
- Seatsio::Workspace
- Defined in:
- lib/seatsio/domain.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#is_active ⇒ Object
readonly
Returns the value of attribute is_active.
-
#is_default ⇒ Object
readonly
Returns the value of attribute is_default.
-
#is_test ⇒ Object
readonly
Returns the value of attribute is_test.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#secret_key ⇒ Object
readonly
Returns the value of attribute secret_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.
284 285 286 287 288 289 290 291 292 |
# File 'lib/seatsio/domain.rb', line 284 def initialize(data) @id = data['id'] @name = data['name'] @key = data['key'] @secret_key = data['secretKey'] @is_test = data['isTest'] @is_active = data['isActive'] @is_default = data['isDefault'] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
282 283 284 |
# File 'lib/seatsio/domain.rb', line 282 def id @id end |
#is_active ⇒ Object (readonly)
Returns the value of attribute is_active.
282 283 284 |
# File 'lib/seatsio/domain.rb', line 282 def is_active @is_active end |
#is_default ⇒ Object (readonly)
Returns the value of attribute is_default.
282 283 284 |
# File 'lib/seatsio/domain.rb', line 282 def is_default @is_default end |
#is_test ⇒ Object (readonly)
Returns the value of attribute is_test.
282 283 284 |
# File 'lib/seatsio/domain.rb', line 282 def is_test @is_test end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
282 283 284 |
# File 'lib/seatsio/domain.rb', line 282 def key @key end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
282 283 284 |
# File 'lib/seatsio/domain.rb', line 282 def name @name end |
#secret_key ⇒ Object (readonly)
Returns the value of attribute secret_key.
282 283 284 |
# File 'lib/seatsio/domain.rb', line 282 def secret_key @secret_key end |