Method: Billomat::Models::Base#wrapped_data
- Defined in:
- lib/billomat/models/base.rb
#wrapped_data ⇒ Hash
Wraps the data so the API accepts the request.
99 100 101 |
# File 'lib/billomat/models/base.rb', line 99 def wrapped_data { self.class.resource_name => @data.to_h } end |