Method: Locations#get_location_template
- Defined in:
- lib/user/ecommerce/locations.rb
#get_location_template(id, options = nil) ⇒ Object
Get location template.
Get a location template info.
Parameters
- id
-
(Integer) – Location template id.
- options
-
(Hash) – List of Resource Collection Options shown above can be used as parameter.
First Example
@data = @mints_user.get_location_template(1)
Second Example
= { "fields": "title" }
@data = @mints_user.get_location_template(1, )
134 135 136 |
# File 'lib/user/ecommerce/locations.rb', line 134 def get_location_template(id, = nil) return @client.raw("get", "/ecommerce/location-templates/#{id}", ) end |