Module: GogoKit::Client::Address
Overview
GogoKit::Client methods for getting addresses for the authenticated user
Instance Method Summary collapse
-
#get_addresses(options = {}) ⇒ GogoKit::PagedResource
Retrieves all addresses for the authenticated user.
Methods included from Utils
Instance Method Details
#get_addresses(options = {}) ⇒ GogoKit::PagedResource
Retrieves all addresses for the authenticated user
user
16 17 18 19 20 21 22 23 |
# File 'lib/gogokit/client/address.rb', line 16 def get_addresses( = {}) root = get_root object_from_response(GogoKit::PagedResource, GogoKit::AddressesRepresenter, :get, "#{root.links['self'].href}/addresses", ) end |