Module: Billomat::ResourceWithoutId
- Included in:
- SingletonBase
- Defined in:
- lib/billomat-rb.rb
Instance Method Summary collapse
Instance Method Details
#save ⇒ Object
96 97 98 99 100 |
# File 'lib/billomat-rb.rb', line 96 def save connection.put(element_path(), encode, self.class.headers).tap do |response| load_attributes_from_response(response) end end |