Class: Roqua::RomApi::ListAutoProtocols Private
- Inherits:
-
Endpoint
- Object
- ActiveInteraction::Base
- Endpoint
- Roqua::RomApi::ListAutoProtocols
- Defined in:
- lib/roqua/rom_api/list_auto_protocols.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.
5 6 7 8 9 |
# File 'lib/roqua/rom_api/list_auto_protocols.rb', line 5 def execute validate_response_for do basic_auth_session.get "/auto_protocols" 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.
11 12 13 |
# File 'lib/roqua/rom_api/list_auto_protocols.rb', line 11 def response_to_result(response) response.map { |r| Models::AutoProtocol.new(r) } end |