Class: Hoptoadr::Party
- Inherits:
-
Object
- Object
- Hoptoadr::Party
- Includes:
- HTTParty
- Defined in:
- lib/hoptoadr/party.rb
Class Method Summary collapse
Class Method Details
.details(id) ⇒ Object
15 16 17 |
# File 'lib/hoptoadr/party.rb', line 15 def self.details(id) get "/errors/#{id}.xml" end |
.paginate(page = 1) ⇒ Object
11 12 13 |
# File 'lib/hoptoadr/party.rb', line 11 def self.paginate(page = 1) get "/errors.xml", :query => {:page => page} end |
.resolve(id) ⇒ Object
19 20 21 |
# File 'lib/hoptoadr/party.rb', line 19 def self.resolve(id) put "/errors/#{id}.xml", :query => {:group => {:resolved => true}} end |