Class: Songkicky::Festival
- Inherits:
-
Object
- Object
- Songkicky::Festival
- Defined in:
- lib/festival.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Festival
constructor
A new instance of Festival.
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
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/festival.rb', line 3 def name @name end |