Class: RockRMS::Response::Campus
- Defined in:
- lib/rock_rms/response/campus.rb
Constant Summary collapse
- 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
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
format, #format, #initialize, #to_h
Constructor Details
This class inherits a constructor from RockRMS::Response::Base
Instance Method Details
#format_single(data) ⇒ Object
17 18 19 |
# File 'lib/rock_rms/response/campus.rb', line 17 def format_single(data) to_h(MAP, data) end |