Class: OpenAI::Client::LastResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/openai/client.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dateObject

Returns the value of attribute date

Returns:

  • (Object)

    the current value of date



11
12
13
# File 'lib/openai/client.rb', line 11

def date
  @date
end

#organizationObject

Returns the value of attribute organization

Returns:

  • (Object)

    the current value of organization



11
12
13
# File 'lib/openai/client.rb', line 11

def organization
  @organization
end

#processing_msObject

Returns the value of attribute processing_ms

Returns:

  • (Object)

    the current value of processing_ms



11
12
13
# File 'lib/openai/client.rb', line 11

def processing_ms
  @processing_ms
end

#request_idObject

Returns the value of attribute request_id

Returns:

  • (Object)

    the current value of request_id



11
12
13
# File 'lib/openai/client.rb', line 11

def request_id
  @request_id
end

#status_codeObject

Returns the value of attribute status_code

Returns:

  • (Object)

    the current value of status_code



11
12
13
# File 'lib/openai/client.rb', line 11

def status_code
  @status_code
end

#status_messageObject

Returns the value of attribute status_message

Returns:

  • (Object)

    the current value of status_message



11
12
13
# File 'lib/openai/client.rb', line 11

def status_message
  @status_message
end