Sha256: f8a81512c73a46c0bdcc4af86ba43344ec4db9550064619bd3122ed19cbaee26

Contents?: true

Size: 317 Bytes

Versions: 10

Compression:

Stored size: 317 Bytes

Contents

module RockRMS
  module Response
    class AttributeValue < Base
      MAP = {
        value: 'Value',
        value_as_number: 'ValueAsNumeric',
        value_formatted: 'ValueFormatted',
        entity_id: 'EntityId'
      }.freeze

      def format_single(data)
        to_h(MAP, data)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rock_rms-8.8.0 lib/rock_rms/response/attribute_value.rb
rock_rms-8.7.0 lib/rock_rms/response/attribute_value.rb
rock_rms-8.6.0 lib/rock_rms/response/attribute_value.rb
rock_rms-8.5.0 lib/rock_rms/response/attribute_value.rb
rock_rms-8.4.0 lib/rock_rms/response/attribute_value.rb
rock_rms-8.3.0 lib/rock_rms/response/attribute_value.rb
rock_rms-8.2.1 lib/rock_rms/response/attribute_value.rb
rock_rms-8.2.0 lib/rock_rms/response/attribute_value.rb
rock_rms-8.1.0 lib/rock_rms/response/attribute_value.rb
rock_rms-8.0.0 lib/rock_rms/response/attribute_value.rb