module Giraffi::Client::MyCurrentStatus

Defines methods related to the status of endpoints

Public Instance Methods

my_current_status(options="") click to toggle source

Returns the current status of the desired endpoint

@requires_apikey No @param options [String] The alias string of the desired endpoint @return [HTTParty::Response]

# File lib/giraffi/client/my_current_status.rb, line 11
def my_current_status(options="")
  uri = to_uri options.to_sym
  raise StandardError.new("The given key `#{options}` is not valid.") if uri.nil?
  self.class.get("#{uri}/my_current_status.json")
end