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

                             







                                     
# frozen_string_literal: true

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

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