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



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

def code
  @code
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



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

def text
  @text
end