Class: Songkicky::Festival

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Festival

Returns a new instance of Festival.



5
6
7
# File 'lib/festival.rb', line 5

def initialize(hash)
  @name = hash['displayName']
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/festival.rb', line 3

def name
  @name
end