module Billogram::Endpoint::InstanceMethods
Public Instance Methods
endpoint()
click to toggle source
# File lib/billogram/endpoint.rb, line 15 def endpoint self.class.endpoint end
update(attributes)
click to toggle source
# File lib/billogram/endpoint.rb, line 11 def update(attributes) self.class.perform_request(:put, "#{endpoint}/#{id}", attributes) end