Class: CoPilot::BuildsForBundleIdRequest
- Inherits:
-
Object
- Object
- CoPilot::BuildsForBundleIdRequest
- Defined in:
- lib/copilot/requests/builds_for_bundle_id_request.rb
Instance Method Summary collapse
-
#initialize(browser) ⇒ BuildsForBundleIdRequest
constructor
A new instance of BuildsForBundleIdRequest.
- #send(bundle_id, options = {}) ⇒ Object
Constructor Details
#initialize(browser) ⇒ BuildsForBundleIdRequest
Returns a new instance of BuildsForBundleIdRequest.
8 9 10 |
# File 'lib/copilot/requests/builds_for_bundle_id_request.rb', line 8 def initialize(browser) @browser = browser end |
Instance Method Details
#send(bundle_id, options = {}) ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/copilot/requests/builds_for_bundle_id_request.rb', line 12 def send(bundle_id, ={}) @bundle_id = bundle_id @builds = [] @builds_limiter = create_builds_limiter @pager = Pager.new @browser go_to_builds_page add_builds_for_each_page @builds end |