Class: Bunny::Country
- Defined in:
- lib/bunny/models/country.rb
Class Method Summary collapse
Methods inherited from Object
#camel_to_snake, #initialize, #to_ostruct
Constructor Details
This class inherits a constructor from Bunny::Object
Class Method Details
.list ⇒ Object
4 5 6 7 |
# File 'lib/bunny/models/country.rb', line 4 def list response = Client.get_request("country") Collection.from_response(response, type: Country) end |