Class: TrailerVote::Api::Place
- Inherits:
-
Object
- Object
- TrailerVote::Api::Place
- Defined in:
- lib/trailer_vote/api/place.rb,
lib/trailer_vote/api/place/find.rb,
lib/trailer_vote/api/place/create.rb,
lib/trailer_vote/api/place/lookup.rb,
lib/trailer_vote/api/place/children.rb,
lib/trailer_vote/api/place/children/urls.rb
Defined Under Namespace
Classes: Children, Create, Find, Lookup
Instance Method Summary collapse
- #back ⇒ Object
-
#initialize(configuration:) ⇒ Place
constructor
A new instance of Place.
-
#lookup ⇒ TrailerVote::Api::Place::Lookup
Api to deal with looking up a place.
Constructor Details
#initialize(configuration:) ⇒ Place
Returns a new instance of Place.
9 10 11 |
# File 'lib/trailer_vote/api/place.rb', line 9 def initialize(configuration:) self.configuration = configuration end |
Instance Method Details
#back ⇒ Object
13 14 15 |
# File 'lib/trailer_vote/api/place.rb', line 13 def back configuration end |
#lookup ⇒ TrailerVote::Api::Place::Lookup
Returns api to deal with looking up a place.
21 22 23 |
# File 'lib/trailer_vote/api/place/lookup.rb', line 21 def lookup Lookup.new(configuration: configuration) end |