Method: EasyTalk::Model::InstanceMethods#as_json
- Defined in:
- lib/easy_talk/model.rb
#as_json(_options = {}) ⇒ Object
Override as_json to include both defined and additional properties
88 89 90 |
# File 'lib/easy_talk/model.rb', line 88 def as_json( = {}) to_hash.merge(@additional_properties) end |