Class: Browser::HTTP::Response::Status

Inherits:
Struct
  • Object
show all
Defined in:
opal/browser/http/response.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



9
10
11
# File 'opal/browser/http/response.rb', line 9

def code
  @code
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



9
10
11
# File 'opal/browser/http/response.rb', line 9

def text
  @text
end