Class: Polygonio::Rest::Reference::Locales

Inherits:
PolygonRestHandler show all
Defined in:
lib/polygonio/rest/api/reference/locales.rb

Defined Under Namespace

Classes: LocalesResponse

Instance Attribute Summary

Attributes inherited from PolygonRestHandler

#client

Instance Method Summary collapse

Methods inherited from PolygonRestHandler

#initialize

Constructor Details

This class inherits a constructor from Polygonio::Rest::PolygonRestHandler

Instance Method Details

#listObject



15
16
17
18
# File 'lib/polygonio/rest/api/reference/locales.rb', line 15

def list
  res = client.request.get("/v2/reference/locales")
  LocalesResponse[res.body]
end