module Fleetly::Logitem
Public Instance Methods
get_logitem_details(id)
click to toggle source
Retrieve Logitem
details given the ID
@param :id [String] Logitem
ID
@return [Hashie::Mash] Activity
# File lib/fleetly/logitem.rb, line 12 def get_logitem_details(id) options = {} options[:oauth_token] = token activity_response = get("/api/v1/logitems/#{id}", options) activity_response if activity_response.result? end
get_logitems(options={})
click to toggle source
Retrieve Logitems
@param :start [Integer] Starting point (default 0) @param :limit [Integer] Max number of result (default 20)
@return [Hashie::Mash] Activity
# File lib/fleetly/logitem.rb, line 27 def get_logitems(options={}) options = {} options[:oauth_token] = token activity_response = get("/api/v1/logitems/search", options) activity_response if activity_response.result? end