bin/console in unofficial_buildkite_client-0.3.0 vs bin/console in unofficial_buildkite_client-0.4.0

- old
+ new

@@ -9,8 +9,10 @@ client = UnofficialBuildkiteClient.new(org_slug: "rails", pipeline_slug: "rails") builds = client.fetch_builds(created_at_from: "2019-04-19T07:00", first: 1, state: ["FAILED", "PASSED"]) build = client.fetch_build(number: builds.first[:number]) job = build[:jobs].first log = client.fetch_log(build_number: job[:build_number], job_id: job[:id]) +artifacts = client.fetch_artifacts(build_number: job[:build_number], job_id: job[:id]) +artifact = client.fetch_artifact(build_number: job[:build_number], job_id: job[:id], artifact_id: artifacts.first[:id]) Bundler.require Pry.start