Class: Supabase::Functions::Types::Response
- Inherits:
-
Struct
- Object
- Struct
- Supabase::Functions::Types::Response
- Defined in:
- lib/supabase/functions/types.rb
Overview
Returned by Client#invoke. ‘data` is parsed JSON when response_type: :json (or auto-detected from a JSON Content-Type), otherwise the raw response body.
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
8 9 10 |
# File 'lib/supabase/functions/types.rb', line 8 def data @data end |
#headers ⇒ Object
Returns the value of attribute headers
8 9 10 |
# File 'lib/supabase/functions/types.rb', line 8 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status
8 9 10 |
# File 'lib/supabase/functions/types.rb', line 8 def status @status end |