Sha256: 7fd1c53f74534476f6f4e8419ac915673c02101ea632c8eb76ed30253c97dcc7
Contents?: true
Size: 908 Bytes
Versions: 2
Compression:
Stored size: 908 Bytes
Contents
class CentrumFaktur::Estimate def self.list(options = {}) request = CentrumFaktur::Connection.new.get("/api/1.0/estimates/", options) request.handle_response end def self.list_updates(options = {}) request = CentrumFaktur::Connection.new.get("/api/1.0/estimates/updates/", options) request.handle_response end def self.show(estimate_uri, options = {}) request = CentrumFaktur::Connection.new.get(estimate_uri, options) request.handle_response end def self.create(params) request = CentrumFaktur::Connection.new.post("/api/1.0/estimates/", params) request.handle_response end def self.update(estimate_uri, params) request = CentrumFaktur::Connection.new.put(estimate_uri, params) request.handle_response end def self.destroy(estimate_uri) request = CentrumFaktur::Connection.new.delete(estimate_uri) request.handle_response end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
centrum_faktur-0.2.0 | lib/centrum_faktur/estimate.rb |
centrum_faktur-0.1.0 | lib/centrum_faktur/estimate.rb |