Sha256: b2ff40a1f2bbe590f8f54b173cd81aa14005c7fa49c2837b7519e5214e38eab5

Contents?: true

Size: 236 Bytes

Versions: 12

Compression:

Stored size: 236 Bytes

Contents

class TestModel
  def self.create
    @created = true
  end

  def self.created
    @created ||= false
  end

  def initialize(*_args)
  end

  def save!(*_args)
    TestModel.create
  end

  def created
    TestModel.created
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
api_me-0.7.0 spec/internal/app/models/test_model.rb
api_me-0.6.0 spec/internal/app/models/test_model.rb
api_me-0.5.3 spec/internal/app/models/test_model.rb
api_me-0.5.2 spec/internal/app/models/test_model.rb
api_me-0.5.1 spec/internal/app/models/test_model.rb
api_me-0.5.0 spec/internal/app/models/test_model.rb
api_me-0.4.1 spec/internal/app/models/test_model.rb
api_me-0.4.0 spec/internal/app/models/test_model.rb
api_me-0.3.6 spec/internal/app/models/test_model.rb
api_me-0.3.5 spec/internal/app/models/test_model.rb
api_me-0.3.4 spec/internal/app/models/test_model.rb
api_me-0.3.3 spec/internal/app/models/test_model.rb