Class: NovaposhtaApi::Resources::CityResource
- Inherits:
-
NovaposhtaApi::Resource
- Object
- NovaposhtaApi::Resource
- NovaposhtaApi::Resources::CityResource
- Defined in:
- lib/novaposhta_api/resources/city_resource.rb
Instance Attribute Summary
Attributes inherited from NovaposhtaApi::Resource
Instance Method Summary collapse
Methods inherited from NovaposhtaApi::Resource
Constructor Details
This class inherits a constructor from NovaposhtaApi::Resource
Instance Method Details
#all(params = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/novaposhta_api/resources/city_resource.rb', line 6 def all(params = {}) response = request('Address/getCities', params) NovaposhtaApi::Models::City.extract_collection(response) end |