Class: Crashbreak::DumpersDataRepository

Inherits:
BaseRepository show all
Defined in:
lib/crashbreak/repositories/dumpers_data_repository.rb

Constant Summary

Constants inherited from BaseRepository

BaseRepository::BASE_URL

Instance Method Summary collapse

Methods inherited from BaseRepository

#project_token

Constructor Details

#initialize(error_id) ⇒ DumpersDataRepository

Returns a new instance of DumpersDataRepository.



3
4
5
# File 'lib/crashbreak/repositories/dumpers_data_repository.rb', line 3

def initialize(error_id)
  @error_id = error_id
end

Instance Method Details

#dumpers_dataObject



7
8
9
# File 'lib/crashbreak/repositories/dumpers_data_repository.rb', line 7

def dumpers_data
  JSON.parse request_body
end