Module: ExposableAttributes::InstanceMethods
- Defined in:
- lib/exposable_attributes.rb
Instance Method Summary collapse
Instance Method Details
#to_json(options = {}) ⇒ Object
69 70 71 |
# File 'lib/exposable_attributes.rb', line 69 def to_json( = {}) super(exposable_json_attributes.merge()) end |
#to_xml(options = {}) ⇒ Object
65 66 67 |
# File 'lib/exposable_attributes.rb', line 65 def to_xml( = {}) super(exposable_xml_attributes.merge()) end |