Sha256: 0ee9f92d492e30ee8bb3c44ab10a385d9360e8f2683b72920ad33dd7ae062316

Contents?: true

Size: 394 Bytes

Versions: 45

Compression:

Stored size: 394 Bytes

Contents

module RockRMS
  module Response
    class GroupLocation < Base
      MAP = {
        group_id: 'GroupId',
        location_id: 'LocationId',
        guid: 'Guid'
      }.freeze

      def format_single(data)
        result = to_h(MAP, data)

        if location = data['Location']
          result[:location] = Location.format(location)
        end

        result
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
rock_rms-9.10.0 lib/rock_rms/response/group_location.rb
rock_rms-9.9.0 lib/rock_rms/response/group_location.rb
rock_rms-9.8.0 lib/rock_rms/response/group_location.rb
rock_rms-9.7.0 lib/rock_rms/response/group_location.rb
rock_rms-9.6.0 lib/rock_rms/response/group_location.rb
rock_rms-9.5.0 lib/rock_rms/response/group_location.rb
rock_rms-9.4.0 lib/rock_rms/response/group_location.rb
rock_rms-9.3.0 lib/rock_rms/response/group_location.rb
rock_rms-9.2.0 lib/rock_rms/response/group_location.rb
rock_rms-9.1.0 lib/rock_rms/response/group_location.rb
rock_rms-9.0.0 lib/rock_rms/response/group_location.rb
rock_rms-8.23.0 lib/rock_rms/response/group_location.rb
rock_rms-8.22.0 lib/rock_rms/response/group_location.rb
rock_rms-8.21.0 lib/rock_rms/response/group_location.rb
rock_rms-8.20.0 lib/rock_rms/response/group_location.rb
rock_rms-8.19.0 lib/rock_rms/response/group_location.rb
rock_rms-8.18.0 lib/rock_rms/response/group_location.rb
rock_rms-8.17.0 lib/rock_rms/response/group_location.rb
rock_rms-8.16.0 lib/rock_rms/response/group_location.rb
rock_rms-8.15.2 lib/rock_rms/response/group_location.rb