Module: Bitrise::Client::App
- Included in:
- Bitrise::Client
- Defined in:
- lib/bitrise/client/app.rb
Instance Method Summary collapse
-
#apps(sort_by: nil, _next: nil, limit: nil) ⇒ App
List all the apps available for the authenticated account, including those that are owned by other users or Organizations.
Instance Method Details
#apps(sort_by: nil, _next: nil, limit: nil) ⇒ App
List all the apps available for the authenticated account, including those that are owned by other users or Organizations.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/bitrise/client/app.rb', line 16 def apps(sort_by: nil, _next: nil, limit: nil) response = client.get do |request| request.url "/v0.1/apps" request.params = { sort_by: sort_by, next: _next, limit: limit, }.compact request.headers['Content-Type'] = 'application/json' end result = JSON.parse(response.body) AppResponse.new(result) end |