Sha256: ccfbd48e1eea54378f62e9a7e24d069a05771b6ac95fa5bf5d4c258c66ea3e87
Contents?: true
Size: 755 Bytes
Versions: 1
Compression:
Stored size: 755 Bytes
Contents
class CentrumFaktur::Invoice def self.list(options = {}) request = CentrumFaktur::Connection.new.get("/api/1.0/invoices/", options) request.handle_response end def self.list_updates(options = {}) request = CentrumFaktur::Connection.new.get("/api/1.0/invoices/updates/", options) request.handle_response end def self.show(invoice_uri, options = {}) request = CentrumFaktur::Connection.new.get(invoice_uri, options) request.handle_response end def self.create(params) request = CentrumFaktur::Connection.new.post("/api/1.0/invoices/", params) request.handle_response end def self.destroy(invoice_uri) request = CentrumFaktur::Connection.new.delete(invoice_uri) request.handle_response end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
centrum_faktur-0.0.1 | lib/centrum_faktur/invoice.rb |