Module: Giraffi::Client::Logs

Included in:
Giraffi::Client
Defined in:
lib/giraffi/client/logs.rb

Overview

Defines methods related to the logs generated by the Giraffi

Instance Method Summary collapse

Instance Method Details

#count_axion_logs(options = {}) ⇒ HTTParty::Response

Returns the number of logs related to the axions

Parameters:

  • options (Hash) (defaults to: {})

    The request params to retrieve the desired logs to count

Returns:

  • (HTTParty::Response)


18
19
20
# File 'lib/giraffi/client/logs.rb', line 18

def count_axion_logs(options={})
  self.class.get("/logs/axion/count.json?apikey=#{apikey}", query: options)
end

#find_axion_logs(options = {}) ⇒ HTTParty::Response

Returns the desired logs related to the axions

Parameters:

  • options (Hash) (defaults to: {})

    The request params to retrieve the desired logs

Returns:

  • (HTTParty::Response)


10
11
12
# File 'lib/giraffi/client/logs.rb', line 10

def find_axion_logs(options={})
  self.class.get("/logs/axion.json?apikey=#{apikey}", query: options)
end