class ConcourseObjects::Resources::S3::Source

Constants

DEFAULT_DISABLE_MULTIPART
DEFAULT_DISABLE_SSL
DEFAULT_PRIVATE
DEFAULT_REGION_NAME
DEFAULT_SKIP_DOWNLOAD
DEFAULT_SKIP_SSL_VERIFICATION
DEFAULT_USE_V2_SIGNING
HasInitialState
HasRegexp
HasVersionedFile

Public Class Methods

new(options = {}) { |this, options| ... } click to toggle source
Calls superclass method ConcourseObjects::Object::new
# File lib/concourse-objects/resources/s3.rb, line 50
def initialize(options = {})
  super(options)
  super(options) do |this, options|
    raise KeyError, "expected one of (regexp, versioned_file), got both" if (this.regexp? and this.versioned_file?)

    yield this, options if block_given?
  end
end