Class: ContactPurpose
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ContactPurpose
- Defined in:
- app/models/contact_purpose.rb
Instance Method Summary collapse
Instance Method Details
#to_data_hash ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/models/contact_purpose.rb', line 9 def to_data_hash to_hash( only: [ :id, :description, :internal_identifier, :created_at, :updated_at ], leaf: leaf? ) end |