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-2.3.4 spec/support/test_model_builder.rb
cfoundry-2.3.3 spec/support/test_model_builder.rb
cfoundry-2.3.2 spec/support/test_model_builder.rb
cfoundry-2.3.1 spec/support/test_model_builder.rb
cfoundry-2.3.0 spec/support/test_model_builder.rb
cfoundry-2.2.0rc3 spec/support/test_model_builder.rb
cfoundry-2.2.0.rc2 spec/support/test_model_builder.rb
cfoundry-2.2.0.rc1 spec/support/test_model_builder.rb
cfoundry-2.1.2.rc1 spec/support/test_model_builder.rb
cfoundry-2.1.1 spec/support/test_model_builder.rb
cfoundry-2.1.0 spec/support/test_model_builder.rb
cfoundry-2.0.2 spec/support/test_model_builder.rb
cfoundry-2.0.1.rc1 spec/support/test_model_builder.rb
cfoundry-2.0.0 spec/support/test_model_builder.rb