Class: Crashbreak::ExceptionsRepository
- Inherits:
-
BaseRepository
- Object
- BaseRepository
- Crashbreak::ExceptionsRepository
- Defined in:
- lib/crashbreak/repositories/exceptions_repository.rb
Constant Summary
Constants inherited from BaseRepository
Instance Method Summary collapse
Methods inherited from BaseRepository
Instance Method Details
#create(error_report_hash) ⇒ Object
3 4 5 |
# File 'lib/crashbreak/repositories/exceptions_repository.rb', line 3 def create(error_report_hash) JSON.parse(post_request(error_report_hash).body) end |
#resolve(error_id) ⇒ Object
7 8 9 |
# File 'lib/crashbreak/repositories/exceptions_repository.rb', line 7 def resolve(error_id) resolve_request error_id end |
#update(error_id, hash) ⇒ Object
11 12 13 |
# File 'lib/crashbreak/repositories/exceptions_repository.rb', line 11 def update(error_id, hash) update_request(error_id, hash) end |