Class: CentrumFaktur::API::Comment
- Inherits:
-
Base
- Object
- Base
- CentrumFaktur::API::Comment
show all
- Defined in:
- lib/centrum_faktur/api/comment.rb
Instance Attribute Summary
Attributes inherited from Base
#client
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#create(comment_uri, params) ⇒ Object
10
11
12
13
|
# File 'lib/centrum_faktur/api/comment.rb', line 10
def create(, params)
request = connection.post(, params)
request.handle_response
end
|
#list(comment_uri = "/api/1.0/comments/", options = {}) ⇒ Object
5
6
7
8
|
# File 'lib/centrum_faktur/api/comment.rb', line 5
def list( = "/api/1.0/comments/", options = {})
request = connection.get(, options)
request.handle_response
end
|