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