Module: Giraffi::Client::Applogs
- Included in:
- Giraffi::Client
- Defined in:
- lib/giraffi/client/applogs.rb
Overview
Defines methods related to the applogs
Instance Method Summary collapse
-
#add_applogs(options = {}) ⇒ HTTParty::Response
Posts the applogs to the Giraffi.
-
#find_applogs(options = {}) ⇒ HTTParty::Response
Returns the desired applogs related.
Instance Method Details
#add_applogs(options = {}) ⇒ HTTParty::Response
Posts the applogs to the Giraffi
20 21 22 |
# File 'lib/giraffi/client/applogs.rb', line 20 def add_applogs(={}) self.class.post("#{applogs_endpoint}/applogs.json?apikey=#{apikey}", :body => MultiJson.encode({applog: })) end |
#find_applogs(options = {}) ⇒ HTTParty::Response
Returns the desired applogs related
11 12 13 |
# File 'lib/giraffi/client/applogs.rb', line 11 def find_applogs(={}) self.class.get("/applogs.json?apikey=#{apikey}", :query => ) end |