class Srcom::Api::Regions

Defined in:

srcr/apis/regions.cr

Constant Summary

Log = Srcom::Log.for("regions")

Class Method Summary

Class Method Detail

def self.find_by_id(id : String) : Srcom::Region #

Gets a Region by their id.


[View source]
def self.get(sort_direction : String? = nil, page_size : Int32 = 200) : PageIterator(Region) #

Gets all regions.

Possible values for sort_direction: "desc" or "asc", with "asc" being the default.


[View source]