Module: QTest::REST::Release
Instance Method Summary collapse
-
#release(opts = {}) ⇒ Object
GET ‘/projects/:project/releases/:id’.
-
#releases(opts = {}) ⇒ Object
GET ‘/projects/:project/releases’.
Methods included from Utils
#decode_response_body, #delete, #get, #handle_response, #post, #put
Instance Method Details
#release(opts = {}) ⇒ Object
GET ‘/projects/:project/releases/:id’
7 8 9 10 11 12 13 |
# File 'lib/qtest/rest/release.rb', line 7 def release(opts = {}) query = QueryBuilder.new .project(opts[:project]) .release(opts[:id]) .build get(query) end |
#releases(opts = {}) ⇒ Object
GET ‘/projects/:project/releases’
16 17 18 19 20 21 22 |
# File 'lib/qtest/rest/release.rb', line 16 def releases(opts = {}) query = QueryBuilder.new .project(opts[:project]) .releases .build get(query) end |