Class: Supabase::Auth::Types::SSOResponse
- Inherits:
-
Struct
- Object
- Struct
- Supabase::Auth::Types::SSOResponse
- Defined in:
- lib/supabase/auth/types.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
Class Method Summary collapse
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute 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 |