Sha256: 03c75b99bc5b344a2ddbb52dde803b9d422ff65b1b4c5460de2255930cb0c272

Contents?: true

Size: 289 Bytes

Versions: 43

Compression:

Stored size: 289 Bytes

Contents

module RockRMS
  module Response
    class Attribute < Base
      MAP = {
        name: 'Name',
        key: 'Key',
        description: 'Description',
        entity_type_id: 'EntityTypeId'
      }.freeze

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

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rock_rms-9.15.0 lib/rock_rms/response/attribute.rb
rock_rms-9.14.0 lib/rock_rms/response/attribute.rb
rock_rms-9.13.0 lib/rock_rms/response/attribute.rb
rock_rms-9.12.0 lib/rock_rms/response/attribute.rb
rock_rms-9.11.0 lib/rock_rms/response/attribute.rb
rock_rms-9.10.0 lib/rock_rms/response/attribute.rb
rock_rms-9.9.0 lib/rock_rms/response/attribute.rb
rock_rms-9.8.0 lib/rock_rms/response/attribute.rb
rock_rms-9.7.0 lib/rock_rms/response/attribute.rb
rock_rms-9.6.0 lib/rock_rms/response/attribute.rb
rock_rms-9.5.0 lib/rock_rms/response/attribute.rb
rock_rms-9.4.0 lib/rock_rms/response/attribute.rb
rock_rms-9.3.0 lib/rock_rms/response/attribute.rb
rock_rms-9.2.0 lib/rock_rms/response/attribute.rb
rock_rms-9.1.0 lib/rock_rms/response/attribute.rb
rock_rms-9.0.0 lib/rock_rms/response/attribute.rb
rock_rms-8.23.0 lib/rock_rms/response/attribute.rb
rock_rms-8.22.0 lib/rock_rms/response/attribute.rb
rock_rms-8.21.0 lib/rock_rms/response/attribute.rb
rock_rms-8.20.0 lib/rock_rms/response/attribute.rb