Method: JsonApiClient::Helpers::Dirty#attribute_change
- Defined in:
- lib/json_api_client/helpers/dirty.rb
#attribute_change(attr) ⇒ Object
52 53 54 |
# File 'lib/json_api_client/helpers/dirty.rb', line 52 def attribute_change(attr) [changed_attributes[attr], attributes[attr]] if attribute_changed?(attr) end |