Sha256: 8d165e818056cfa7c595f8d94a8d51a96577710be63e7abfa242e52f411683bd

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module Jiminy
  module Reporting
    module CIProviders
      module CircleCI
        class Job < Base
          define_attribute_readers :job_number, :name

          def self.all(workflow_id:)
            fetch_api_resource("workflow/#{workflow_id}/job")
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jiminy-0.4.0 lib/jiminy/reporting/ci_providers/circle_ci/job.rb
jiminy-0.3.0 lib/jiminy/reporting/ci_providers/circle_ci/job.rb
jiminy-0.2.0 lib/jiminy/reporting/ci_providers/circle_ci/job.rb
jiminy-0.1.1 lib/jiminy/reporting/ci_providers/circle_ci/job.rb
jiminy-0.1.0 lib/jiminy/reporting/ci_providers/circle_ci/job.rb