module Aucklandia::Versions
Constants
- VERSIONS_ENDPOINT
Public Instance Methods
get_versions()
click to toggle source
objects within the AT API have identifiers that adhere to a versioning convention. This API call returns the latest 'version' of the most up-to-date data.
# File lib/aucklandia/versions.rb, line 8 def get_versions url = build_url(BASE_URL, VERSIONS_ENDPOINT) response = get(url) JSON.parse(response)['response'] end