module GlobalID::Identification

def to_gid_param(options = {})

model.to_gid_param # => ""Z2lkOi8vYm9yZGZvbGlvL1BlcnNvbi8x"
model = Person.new id: 1

Returns the Global ID parameter of the model.
def to_gid_param(options = {})
  to_global_id(options).to_param
end