module GogoKit::Client::Root

{GogoKit::Client} methods for getting the root resource

Public Instance Methods

get_root(options = {}) click to toggle source

Gets the root of the viagogo API service.

@see viagogo.github.io/developer.viagogo.net/#root-endpoint @param [Hash] options Optional options @return [GogoKit::Resource::Root] The root resource

# File lib/gogokit/client/root.rb, line 15
def get_root(options = {})
  object_from_response(GogoKit::Root,
                       GogoKit::RootRepresenter,
                       :get,
                       api_root_endpoint,
                       options)
end