Class: Roqua::RomApi::ListDossierStats Private
- Defined in:
- lib/roqua/rom_api/list_dossier_stats.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
- #execute ⇒ Object private
- #params ⇒ Object private
- #response_to_result(response) ⇒ Object private
Instance Method Details
#execute ⇒ 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.
7 8 9 10 11 |
# File 'lib/roqua/rom_api/list_dossier_stats.rb', line 7 def execute validate_response_for do basic_auth_session.get '/stats', params end end |
#params ⇒ 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.
13 14 15 |
# File 'lib/roqua/rom_api/list_dossier_stats.rb', line 13 def params {epd_ids: epd_ids} if epd_ids.any? 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.
17 18 19 |
# File 'lib/roqua/rom_api/list_dossier_stats.rb', line 17 def response_to_result(response) Models::Stats.new(dossiers: response) end |