Class: Chiketto::Venue
Instance Attribute Summary collapse
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
endpoint, get, #initialize, query, token
Methods included from AttrDSL
Constructor Details
This class inherits a constructor from Chiketto::Resource
Instance Attribute Details
#latitude ⇒ Object
Returns the value of attribute latitude.
3 4 5 |
# File 'lib/chiketto/venue.rb', line 3 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
3 4 5 |
# File 'lib/chiketto/venue.rb', line 3 def longitude @longitude end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/chiketto/venue.rb', line 3 def name @name end |
Instance Method Details
#address ⇒ Object
7 8 9 |
# File 'lib/chiketto/venue.rb', line 7 def address Chiketto::Address.new @address.to_h end |
#to_s ⇒ Object
11 12 13 |
# File 'lib/chiketto/venue.rb', line 11 def to_s @name end |