Class: Roqua::RomApi::GetNonResponse
- Defined in:
- lib/roqua/rom_api/get_non_response.rb
Class Method Summary collapse
-
.run!(dossier_id: 'some_epd_id', non_response_id: 1) ⇒ Models::NonResponse
Retrieve specified non_response from specified dossier.
Class Method Details
.run!(dossier_id: 'some_epd_id', non_response_id: 1) ⇒ Models::NonResponse
Retrieve specified non_response from specified dossier.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/roqua/rom_api/get_non_response.rb', line 10 class GetNonResponse < Endpoint string :dossier_id integer :non_response_id private def execute validate_response_for do basic_auth_session.get "/dossiers/#{dossier_id}/non_responses/#{non_response_id}" end end def response_to_result(response) Models::NonResponse.new(response) end end |