Class: Songkicky::Venue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/venue.rb', line 4

def name
  @name
end