module Giraffi::Client::Trends
Defines methods related to the trend data
Public Instance Methods
find_average_trends(options={})
click to toggle source
Returns the desired trend data(average)
@requires_apikey Yes @param options [Hash] The request params to retrieve the desired trend data(average) @return [HTTParty::Response]
# File lib/giraffi/client/trends.rb, line 11 def find_average_trends(options={}) self.class.get("/trends/average.json?apikey=#{apikey}", query: options) end
find_failure_trends(options={})
click to toggle source
Returns the desired trend data(failure)
@requires_apikey Yes @param options [Hash] The request params to retrieve the desired trend data(failure) @return [HTTParty::Response]
# File lib/giraffi/client/trends.rb, line 20 def find_failure_trends(options={}) self.class.get("/trends/failure.json?apikey=#{apikey}", query: options) end