class ConcourseObjects::Resources::Pool::OutParams
Public Class Methods
new(options = {}) { |this, options| ... }
click to toggle source
Calls superclass method
ConcourseObjects::Object::new
# File lib/concourse-objects/resources/pool.rb, line 42 def initialize(options = {}) super(options) do |this, options| raise KeyError, "expected one of: (#{self.class.optional_attributes.inspect})" unless self.class.optional_attributes.any? { |key| options.key?(key) } yield this, options if block_given? end end