1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actioncable/test/stubs/global_id.rb
2015-12-14 15:48:54 +01:00

8 lines
134 B
Ruby

class GlobalID
attr_reader :uri
delegate :to_param, :to_s, to: :uri
def initialize(gid, options = {})
@uri = gid
end
end