Sha256: 15a3f06e8f86f592988e10bbcb28ce9a056fbed0f74e3af49b699228a31b359e

Contents?: true

Size: 615 Bytes

Versions: 60

Compression:

Stored size: 615 Bytes

Contents

require 'ivy/target'

module Ivy
  class Configure < Ivy::Target
    def parameter
      [
        Parameter.new(:id, false),
        Parameter.new(:file, false),
        Parameter.new(:url, false),
        Parameter.new(:host, false),
        Parameter.new(:realm,false),
        Parameter.new(:username, false),
        Parameter.new(:passwd, false)
      ]
    end

    def result_property_values
      property = params[:id] || 'ivy.instance'
      [
        ResultValue.new(/.*\.#{property}/, nil)
      ]
    end

    protected
    def execute_ivy
      call_nested :ivy_configure => params
    end
  end
end

Version data entries

60 entries across 60 versions & 3 rubygems

Version Path
pepijnve-ivy4r-0.12.11 lib/ivy/configure.rb
klaas1979-ivy4r-0.1.0 lib/ivy/configure.rb
klaas1979-ivy4r-0.2.0 lib/ivy/configure.rb
klaas1979-ivy4r-0.3.0 lib/ivy/configure.rb
klaas1979-ivy4r-0.4.0 lib/ivy/configure.rb
klaas1979-ivy4r-0.5.0 lib/ivy/configure.rb
klaas1979-ivy4r-0.5.1 lib/ivy/configure.rb
klaas1979-ivy4r-0.5.2 lib/ivy/configure.rb
klaas1979-ivy4r-0.5.3 lib/ivy/configure.rb
klaas1979-ivy4r-0.6.0 lib/ivy/configure.rb
klaas1979-ivy4r-0.7.0 lib/ivy/configure.rb
klaas1979-ivy4r-0.7.1 lib/ivy/configure.rb
klaas1979-ivy4r-0.7.2 lib/ivy/configure.rb
klaas1979-ivy4r-0.7.3 lib/ivy/configure.rb
ivy4r-0.12.10 lib/ivy/configure.rb
ivy4r-0.12.9 lib/ivy/configure.rb
ivy4r-0.12.8 lib/ivy/configure.rb
ivy4r-0.12.7 lib/ivy/configure.rb
ivy4r-0.12.6 lib/ivy/configure.rb
ivy4r-0.12.5 lib/ivy/configure.rb