class ConcourseObjects::Resources::GCS::Source

Public Class Methods

new(options = {}) { |this, options| ... } click to toggle source
Calls superclass method ConcourseObjects::Object::new
# File lib/concourse-objects/resources/gcs.rb, line 25
def initialize(options = {})
  super(options)
  super(options) do |this, options|
    raise KeyError, "#{this.class.inspect} requires one of (regexp, versioned_file)" unless (this.regegxp? or this.versioned_file?)

    yield this, options if block_given?
  end
end