Class: SacsRuby::API::GeoCode

Inherits:
Base
  • Object
show all
Includes:
BasePost
Defined in:
lib/sacs_ruby/api/geo_code.rb

Overview

The Geo Code API returns the geographic information of a given location.

Instance Attribute Summary

Attributes inherited from Base

#opts, #results, #token, #url

Instance Method Summary collapse

Methods included from BasePost

#get, #url

Methods inherited from Base

get, #get, #initialize, #valid?

Constructor Details

This class inherits a constructor from SacsRuby::Base

Instance Method Details

#endpoint_urlObject



7
8
9
# File 'lib/sacs_ruby/api/geo_code.rb', line 7

def endpoint_url
  '/v1/lists/utilities/geocode/locations'
end