Sha256: d80a6217ddeb4ae13efa27af4d43f4c62371ea062ed7813e7a415e11d4aeeb38

Contents?: true

Size: 223 Bytes

Versions: 74

Compression:

Stored size: 223 Bytes

Contents

class TestModel < CFoundry::V2::Model
end

class TestModelBuilder
  def self.build(guid, client, manifest=nil, &init)
    klass = TestModel.new(guid, client, manifest)
    klass.class_eval(&init) if init
    klass
  end
end

Version data entries

74 entries across 74 versions & 3 rubygems

Version Path
cfoundry-4.5.3 spec/support/test_model_builder.rb
cfoundry-4.5.2 spec/support/test_model_builder.rb
cfoundry-4.5.1 spec/support/test_model_builder.rb
cfoundry-4.5.0 spec/support/test_model_builder.rb
cfoundry-4.3.12 spec/support/test_model_builder.rb
cfoundry-4.3.11 spec/support/test_model_builder.rb
cfoundry-4.3.10 spec/support/test_model_builder.rb
cfoundry-4.3.9 spec/support/test_model_builder.rb
cfoundry-4.3.8 spec/support/test_model_builder.rb
cfoundry-4.3.7 spec/support/test_model_builder.rb
cfoundry-4.3.6 spec/support/test_model_builder.rb
cfoundry-4.3.5 spec/support/test_model_builder.rb
cfoundry-4.3.5.rc1 spec/support/test_model_builder.rb
cfoundry-4.3.4 spec/support/test_model_builder.rb
cfoundry-4.3.4.rc1 spec/support/test_model_builder.rb
cfoundry-4.3.3 spec/support/test_model_builder.rb
cfoundry-4.3.2.rc1 spec/support/test_model_builder.rb
cfoundry-4.3.1 spec/support/test_model_builder.rb
cfoundry-4.3.0 spec/support/test_model_builder.rb
cfoundry-4.2.0.rc spec/support/test_model_builder.rb