Class: Altertable::Lakehouse::Adapters::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/altertable/lakehouse/adapters.rb,
sig/altertable/lakehouse/adapters.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeResponse

Returns a new instance of Response.

Parameters:

  • status (Integer)
  • body (String, nil)
  • headers (::Hash[String, untyped])


9
# File 'sig/altertable/lakehouse/adapters.rbs', line 9

def initialize: (Integer status, ?String? body, ?::Hash[String, untyped] headers) -> void

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



4
5
6
# File 'lib/altertable/lakehouse/adapters.rb', line 4

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



4
5
6
# File 'lib/altertable/lakehouse/adapters.rb', line 4

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



4
5
6
# File 'lib/altertable/lakehouse/adapters.rb', line 4

def status
  @status
end