Class: Nombaone::Internal::Result Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/nombaone/internal/http_client.rb,
sig/nombaone/internal.rbs

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

What the transport hands back on success: the unwrapped data, optional cursor pagination, the request_id, and the raw Response.

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



16
17
18
# File 'lib/nombaone/internal/http_client.rb', line 16

def data
  @data
end

#paginationObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the value of attribute pagination

Returns:

  • (Object)

    the current value of pagination



16
17
18
# File 'lib/nombaone/internal/http_client.rb', line 16

def pagination
  @pagination
end

#request_idObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the value of attribute request_id

Returns:

  • (Object)

    the current value of request_id



16
17
18
# File 'lib/nombaone/internal/http_client.rb', line 16

def request_id
  @request_id
end

#responseObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the value of attribute response

Returns:

  • (Object)

    the current value of response



16
17
18
# File 'lib/nombaone/internal/http_client.rb', line 16

def response
  @response
end