Class: Supabase::Auth::Types::SSOResponse

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



231
232
233
# File 'lib/supabase/auth/types.rb', line 231

def url
  @url
end

Class Method Details

.from_hash(hash) ⇒ Object



235
236
237
238
239
# File 'lib/supabase/auth/types.rb', line 235

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

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