Sha256: 10d93405b08fffe2686ed3264224135de82ab2032cd81d4a17e55dca8880ca86

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

class CentrumFaktur::Comment
  def self.list(options = {})
    request = CentrumFaktur::Connection.new.get("/api/1.0/comments/", options)
    request.handle_response
  end

  def self.create(params)
    request = CentrumFaktur::Connection.new.post("/api/1.0/comments/", params)
    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/comment.rb