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



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

def code
  @code
end

#textObject

Returns the value of attribute text



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

def text
  @text
end