Class: IdealPostcodes::PlacesResource
- Defined in:
- lib/ideal_postcodes/resources/places.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from IdealPostcodes::Resource
Instance Method Details
#find(**params) ⇒ Object
4 5 6 7 |
# File 'lib/ideal_postcodes/resources/places.rb', line 4 def find(**params) response = get_request("places", params: params) Collection.from_response(response, type: Place) end |