Class: Roqua::RomApi::StartProtocolSubscription Private
- Inherits:
-
Endpoint
- Object
- ActiveInteraction::Base
- Endpoint
- Roqua::RomApi::StartProtocolSubscription
- Defined in:
- lib/roqua/rom_api/start_protocol_subscription.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
- #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.
11 12 13 14 15 16 17 |
# File 'lib/roqua/rom_api/start_protocol_subscription.rb', line 11 def execute = {protocol_key: protocol_key, flags: flags, textvars: textvars} [:start_at] = start_at.to_i if start_at validate_response_for do basic_auth_session.post("/dossiers/#{dossier_id}/protocol_subscriptions", ) 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.
19 20 21 |
# File 'lib/roqua/rom_api/start_protocol_subscription.rb', line 19 def response_to_result(response) Models::ProtocolSubscription.new(response) end |