module RollbarAPI::Client::Items
Public Instance Methods
all_items()
click to toggle source
# File lib/rollbar_api/client/items.rb, line 14 def all_items self.class.get('/items/') end
get_item(item_id)
click to toggle source
# File lib/rollbar_api/client/items.rb, line 6 def get_item(item_id) self.class.get("/item/#{id}").parsed_response end
item_by_counter(counter)
click to toggle source
# File lib/rollbar_api/client/items.rb, line 10 def item_by_counter(counter) self.class.get("/item_by_counter/#{counter}").parsed_response end
update_item(item_id, status, resolved_in_version)
click to toggle source
# File lib/rollbar_api/client/items.rb, line 18 def update_item(item_id, status, resolved_in_version) self.class.patch("/item/#{item_id}", body: {status: status, resolved_in_version: resolved_in_version}).parsed_response end