Sha256: b5f42fde28107e853600084d8e2537c272654aa18ed42c1af5a64b7e1790b274
Contents?: true
Size: 336 Bytes
Versions: 28
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true if defined?(GlobalID) GlobalID.app = "graphql-ruby-test" class GlobalIDUser include GlobalID::Identification attr_reader :id def initialize(id) @id = id end def self.find(id) GlobalIDUser.new(id) end def ==(that) self.id == that.id end end end
Version data entries
28 entries across 28 versions & 1 rubygems