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.
-
#is_active ⇒ Object
readonly
Returns the value of attribute is_active.
-
#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
152 153 154 155 156 157 158 159 |
# File 'lib/seatsio/domain.rb', line 152 def initialize(data) @id = data['id'] @name = data['name'] @key = data['key'] @secret_key = data['secretKey'] @is_test = data['isTest'] @is_active = data['isActive'] end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
150 151 152 |
# File 'lib/seatsio/domain.rb', line 150 def id @id end |
#is_active ⇒ Object (readonly)
Returns the value of attribute is_active.
150 151 152 |
# File 'lib/seatsio/domain.rb', line 150 def is_active @is_active end |
#is_test ⇒ Object (readonly)
Returns the value of attribute is_test.
150 151 152 |
# File 'lib/seatsio/domain.rb', line 150 def is_test @is_test end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
150 151 152 |
# File 'lib/seatsio/domain.rb', line 150 def key @key end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
150 151 152 |
# File 'lib/seatsio/domain.rb', line 150 def name @name end |
#secret_key ⇒ Object (readonly)
Returns the value of attribute secret_key.
150 151 152 |
# File 'lib/seatsio/domain.rb', line 150 def secret_key @secret_key end |