Class: Roqua::RomApi::ListNonResponses
- Defined in:
- lib/roqua/rom_api/list_non_responses.rb
Class Method Summary collapse
-
.run!(dossier_id: 'some_epd_id') ⇒ Array<Models::NonResponse>
Retrieve all non_responses belonging to specified dossier.
Class Method Details
.run!(dossier_id: 'some_epd_id') ⇒ Array<Models::NonResponse>
Retrieve all non_responses belonging to specified dossier.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/roqua/rom_api/list_non_responses.rb', line 9 class ListNonResponses < Endpoint string :dossier_id private def execute validate_response_for do basic_auth_session.get "/dossiers/#{dossier_id}/non_responses" end end def response_to_result(response) response.map { |r| Models::NonResponse.new(r) } end end |