aboutsummaryrefslogblamecommitdiffstats
path: root/actioncable/test/stubs/global_id.rb
blob: 334f0d03e8f86e70e0741842cc9e6da073e11dca (plain) (tree)
1
2
3
4
5
6
7
8







                                     
class GlobalID
  attr_reader :uri
  delegate :to_param, :to_s, to: :uri

  def initialize(gid, options = {})
    @uri = gid
  end
end