Method: JsonApiClient::Helpers::Dirty#attribute_changed?
- Defined in:
- lib/json_api_client/helpers/dirty.rb
#attribute_changed?(attr) ⇒ Boolean
48 49 50 |
# File 'lib/json_api_client/helpers/dirty.rb', line 48 def attribute_changed?(attr) changed.include?(attr.to_s) end |