Class: Easybill::Api::DocumentPayments

Inherits:
Base
  • Object
show all
Defined in:
lib/easybill/api/document_payments.rb

Constant Summary

Constants inherited from Base

Base::HEADERS

Class Method Summary collapse

Methods inherited from Base

authenticate, create, destroy, find, list

Methods included from ResponseHandler

included

Class Method Details

.update(id, data) ⇒ Object



4
5
6
# File 'lib/easybill/api/document_payments.rb', line 4

def self.update(id, data)
  raise Easybill::Errors::ResourceNotUpdatableError, "Document payments cannot get updated via api."
end