Class: RockRMS::Response::History

Inherits:
Base
  • Object
show all
Defined in:
lib/rock_rms/response/history.rb

Constant Summary collapse

MAP =
{
  verb: 'Verb',
  change_type: 'ChangeType',
  value_name: 'ValueName',
  old_value: 'OldValue',
  new_value: 'NewValue',
  alias_id: 'CreatedByPersonAliasId'
}.freeze

Constants inherited from Base

Base::BASE_MAPPING

Instance Attribute Summary

Attributes inherited from Base

#data

Instance Method Summary collapse

Methods inherited from Base

format, #format, #format_attributes, #initialize, #to_h

Constructor Details

This class inherits a constructor from RockRMS::Response::Base

Instance Method Details

#format_single(data) ⇒ Object



13
14
15
# File 'lib/rock_rms/response/history.rb', line 13

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