Class: Songkicky::Venue
- Inherits:
-
Object
- Object
- Songkicky::Venue
- Defined in:
- lib/venue.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Venue
constructor
A new instance of Venue.
Constructor Details
#initialize(hash) ⇒ Venue
Returns a new instance of Venue.
6 7 8 |
# File 'lib/venue.rb', line 6 def initialize(hash) @name = hash['displayName'] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/venue.rb', line 4 def name @name end |