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
new_cfoundry-4.9.4 spec/support/test_model_builder.rb
new_cfoundry-4.9.3 spec/support/test_model_builder.rb
ncfoundry-4.9.4 spec/support/test_model_builder.rb
ncfoundry-4.9.3 spec/support/test_model_builder.rb
ncfoundry-4.9.2 spec/support/test_model_builder.rb
new_cfoundry-4.9.2 spec/support/test_model_builder.rb
new_cfoundry-4.9.1 spec/support/test_model_builder.rb
new_cfoundry-4.9.0 spec/support/test_model_builder.rb
new_cfoundry-4.8.3 spec/support/test_model_builder.rb
new_cfoundry-4.8.2 spec/support/test_model_builder.rb
cfoundry-4.7.2.rc1 spec/support/test_model_builder.rb
cfoundry-4.7.1 spec/support/test_model_builder.rb
cfoundry-4.7.1.rc1 spec/support/test_model_builder.rb
cfoundry-4.7.0 spec/support/test_model_builder.rb
cfoundry-4.6.3.rc3 spec/support/test_model_builder.rb
cfoundry-4.6.3.rc2 spec/support/test_model_builder.rb
cfoundry-4.6.3.rc1 spec/support/test_model_builder.rb
cfoundry-4.6.2 spec/support/test_model_builder.rb
cfoundry-4.6.1 spec/support/test_model_builder.rb
cfoundry-4.6.0 spec/support/test_model_builder.rb