Module: Billogram::Endpoint::InstanceMethods
- Defined in:
- lib/billogram/endpoint.rb
Instance Method Summary collapse
Instance Method Details
#endpoint ⇒ Object
13 14 15 |
# File 'lib/billogram/endpoint.rb', line 13 def endpoint self.class.endpoint end |
#update(attributes) ⇒ Object
9 10 11 |
# File 'lib/billogram/endpoint.rb', line 9 def update(attributes) self.class.perform_request(:put, "#{endpoint}/#{id}", attributes) end |