Class: Roqua::RomApi::CreateMeasurementSequence Private

Inherits:
Endpoint
  • Object
show all
Defined in:
lib/roqua/rom_api/create_measurement_sequence.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.



9
10
11
12
13
14
# File 'lib/roqua/rom_api/create_measurement_sequence.rb', line 9

def execute
  validate_response_for do
    basic_auth_session.post("/dossiers/#{dossier_id}/measurement_sequences",
                            measurement_sequence: {flags: flags, textvars: textvars})
  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.



16
17
18
# File 'lib/roqua/rom_api/create_measurement_sequence.rb', line 16

def response_to_result(response)
  Models::MeasurementSequence.new(response)
end