Class: Seatsio::UsageChart

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ UsageChart

Returns a new instance of UsageChart.



530
531
532
533
# File 'lib/seatsio/domain.rb', line 530

def initialize(data)
  @name = data['name']
  @key = data['key']
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



528
529
530
# File 'lib/seatsio/domain.rb', line 528

def key
  @key
end

#nameObject (readonly)

Returns the value of attribute name.



528
529
530
# File 'lib/seatsio/domain.rb', line 528

def name
  @name
end