Sha256: 9ab40848c68abfef94365bc708ea049b6a1e4a805a06233ff3d29ffaf26831af

Contents?: true

Size: 461 Bytes

Versions: 76

Compression:

Stored size: 461 Bytes

Contents

module RockRMS
  module Response
    class Campus < Base
      MAP = {
        id: 'Id',
        name: 'Name',
        is_active: 'IsActive',
        description: 'Description',
        short_code: 'ShortCode',
        url: 'Url',
        location_id: 'LocationId',
        phone_number: 'PhoneNumber',
        service_times: 'ServiceTimes',
        guid: 'Guid'
      }.freeze

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

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
rock_rms-7.0.2 lib/rock_rms/response/campus.rb
rock_rms-7.0.1 lib/rock_rms/response/campus.rb
rock_rms-7.0.0 lib/rock_rms/response/campus.rb
rock_rms-6.2.0 lib/rock_rms/response/campus.rb
rock_rms-6.1.0 lib/rock_rms/response/campus.rb
rock_rms-6.0.8 lib/rock_rms/response/campus.rb
rock_rms-6.0.7 lib/rock_rms/response/campus.rb
rock_rms-6.0.6 lib/rock_rms/response/campus.rb
rock_rms-6.0.5 lib/rock_rms/response/campus.rb
rock_rms-6.0.4 lib/rock_rms/response/campus.rb
rock_rms-6.0.3 lib/rock_rms/response/campus.rb
rock_rms-6.0.1 lib/rock_rms/response/campus.rb
rock_rms-6.0.0 lib/rock_rms/response/campus.rb
rock_rms-5.18.0 lib/rock_rms/response/campus.rb
rock_rms-5.17.0 lib/rock_rms/response/campus.rb
rock_rms-5.16.0 lib/rock_rms/response/campus.rb
rock_rms-5.15.0 lib/rock_rms/response/campus.rb
rock_rms-5.14.0 lib/rock_rms/response/campus.rb
rock_rms-5.13.0 lib/rock_rms/response/campus.rb
rock_rms-5.12.0 lib/rock_rms/response/campus.rb