Module: Dcc::Base::MeasurementResult
- Included in:
- V2::MeasurementResult, V3::MeasurementResult
- Defined in:
- lib/dcc/base/measurement_result.rb
Overview
dcc:measurementResultType — single result block containing name,
usedMethods, usedSoftware, measuringEquipments, influenceConditions,
results.
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/dcc/base/measurement_result.rb', line 9 def self.included(klass) klass.class_eval do attribute :id, :string attribute :ref_id, :string attribute :ref_type, :string attribute :name, :text attribute :description, :text attribute :used_methods, :usedMethods attribute :used_software, :softwareList attribute :measuring_equipments, :measuringEquipments attribute :influence_conditions, :influenceConditions attribute :results, :results xml do namespace ::Dcc::Namespace::Dcc element "measurementResult" ordered map_attribute "id", to: :id map_attribute "refId", to: :ref_id map_attribute "refType", to: :ref_type map_element "name", to: :name map_element "description", to: :description map_element "usedMethods", to: :used_methods map_element "usedSoftware", to: :used_software map_element "measuringEquipments", to: :measuring_equipments map_element "influenceConditions", to: :influence_conditions map_element "results", to: :results end end end |