module Giraffi::Client::Applogs

Defines methods related to the applogs

Public Instance Methods

add_applogs(options={}) click to toggle source

Posts the applogs to the Giraffi

@requires_apikey Yes @param options [Hash] The applogs to post to the Giraffi @return [HTTParty::Response]

# File lib/giraffi/client/applogs.rb, line 20
def add_applogs(options={})
  self.class.post("#{applogs_endpoint}/applogs.json?apikey=#{apikey}", :body => MultiJson.encode({applog: options}))
end
find_applogs(options={}) click to toggle source

Returns the desired applogs related

@requires_apikey Yes @param options [Hash] The request params to retrieve the desired applogs @return [HTTParty::Response]

# File lib/giraffi/client/applogs.rb, line 11
def find_applogs(options={})
  self.class.get("/applogs.json?apikey=#{apikey}", :query => options)
end