Class: Seatsio::Domain::Workspace

Inherits:
Object
  • Object
show all
Defined in:
lib/seatsio/domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject (readonly)

Returns the value of attribute id.



168
169
170
# File 'lib/seatsio/domain.rb', line 168

def id
  @id
end

#keyObject (readonly)

Returns the value of attribute key.



168
169
170
# File 'lib/seatsio/domain.rb', line 168

def key
  @key
end