Class: RockRMS::Response::Gateway
- Defined in:
- lib/rock_rms/response/gateway.rb
Constant Summary collapse
- MAP =
{ id: 'Id', name: 'Name', active: 'IsActive' }.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
10 11 12 |
# File 'lib/rock_rms/response/gateway.rb', line 10 def format_single(data) to_h(MAP, data) end |