Sha256: 7a94a6a34f845d426ebeb9aa9858730d218885ec8f86c22f496378f73a66aaae

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

class GlobalIdableEntity
  include GlobalID::Identification
  include CableReady::Updatable

  def id
    "fake-id"
  end

  def self.find(id)
    new if id == "fake-id"
  end

  def fake_update
    ModelUpdatableCallbacks.new(:update).after_commit(self)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cable_ready-5.0.0.pre9 test/dummy/app/models/global_idable_entity.rb
cable_ready-5.0.0.pre8 test/dummy/app/models/global_idable_entity.rb
cable_ready-5.0.0.pre7 test/dummy/app/models/global_idable_entity.rb
cable_ready-5.0.0.pre6 test/dummy/app/models/global_idable_entity.rb
cable_ready-5.0.0.pre5 test/dummy/app/models/global_idable_entity.rb
cable_ready-5.0.0.pre4 test/dummy/app/models/global_idable_entity.rb