Method: Locations#get_location
- Defined in:
- lib/user/ecommerce/locations.rb
#get_location(id) ⇒ Object
Get location.
Get a location info.
Parameters
- id
-
(Integer) – Location id.
Example
@data = @mints_user.get_location(2)
32 33 34 |
# File 'lib/user/ecommerce/locations.rb', line 32 def get_location(id) return @client.raw("get", "/ecommerce/locations/#{id}") end |