README.md in wercker_api-1.0.6 vs README.md in wercker_api-1.0.8
- old
+ new
@@ -37,10 +37,11 @@
client = WerckerAPI::Client.new(token)
# Will poll the build every 60 seconds for 5 times maximum
runner = WerckerAPI::PipelineRunner.new(client, max_attempts: 5, delay: 60)
- # Blocking call that polls the pipeline and returns a WorkerAPI::Run instance or raise a WerckerAPI::PipelineRunner::Timeout
+ # Blocking call that polls the pipeline and returns a WorkerAPI::Run instance
+ # or raise a WerckerAPI::PipelineRunner::Timeout
run = runner.run # => #<0x007fa4b509bcd8 WorkerAPI::Run id: '125344f34v34'...>
run.result # => 'passed'
```
## API Documentation