Class: Supabase::Auth::Types::LinkIdentityResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/supabase/auth/types.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



242
243
244
# File 'lib/supabase/auth/types.rb', line 242

def url
  @url
end

Class Method Details

.from_hash(hash) ⇒ Object



246
247
248
249
250
# File 'lib/supabase/auth/types.rb', line 246

def self.from_hash(hash)
  return nil if hash.nil?

  new(url: hash["url"] || hash[:url])
end