Class: Artifactory::Collection::Build

Inherits:
Base
  • Object
show all
Defined in:
lib/artifactory/collections/build.rb

Instance Method Summary collapse

Methods inherited from Base

#method_missing

Constructor Details

#initialize(parent, options = {}, &block) ⇒ Build

Create a new build collection.

Parameters:

  • klass (Class)

    the child class object

  • parent (Object)

    the parent object who created the collection

  • options (Hash) (defaults to: {})

    the list of options given by the parent

  • block (Proc)

    the block to evaluate for the instance



24
25
26
# File 'lib/artifactory/collections/build.rb', line 24

def initialize(parent, options = {}, &block)
  super(Resource::Build, parent, options, &block)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Artifactory::Collection::Base