Class: Bunny::Region

Inherits:
Object
  • Object
show all
Defined in:
lib/bunny/models/region.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

.listObject



4
5
6
7
# File 'lib/bunny/models/region.rb', line 4

def list
  response = Client.get_request("region")
  Collection.from_response(response, type: Region)
end