Class: Roqua::RomApi::StartFillOutSession Private

Inherits:
Endpoint
  • Object
show all
Defined in:
lib/roqua/rom_api/start_fill_out_session.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#executeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



15
16
17
18
19
20
21
22
23
24
# File 'lib/roqua/rom_api/start_fill_out_session.rb', line 15

def execute
  validate_response_for do
    basic_auth_session.post("/dossiers/#{dossier_id}/fill_out_sessions",
                            questionnaire_keys: questionnaire_keys,
                            response_ids: response_ids,
                            return_to: return_to,
                            progress_url: progress_url,
                            stylesheet: stylesheet)
  end
end

#response_to_result(response) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



26
27
28
# File 'lib/roqua/rom_api/start_fill_out_session.rb', line 26

def response_to_result(response)
  response['fill_out_url']
end