class ConcourseObjects::Resources::Git::OutParams

Constants

ACCEPTABLE_RETURNING
DEFAULT_FORCE
DEFAULT_MERGE
DEFAULT_ONLY_TAG
DEFAULT_REBASE
DEFAULT_RETURNING
ReturningIsAcceptable

Public Class Methods

new(options = {}) { |this, options| ... } click to toggle source
Calls superclass method ConcourseObjects::Object::new
# File lib/concourse-objects/resources/git.rb, line 96
def initialize(options = {})
  super(options)
  super(options) do |this, options|
    raise KeyError, "expected one of (rebase || merge), got both" if [:rebase, :merge].all? { |key| options.key?(key) }
    yield this, options if block_given?
  end
end