Class: Gecko::Http::Result::Error

Inherits:
Struct
  • Object
show all
Defined in:
lib/gecko/http.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



31
32
33
# File 'lib/gecko/http.rb', line 31

def status
  @status
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



31
32
33
# File 'lib/gecko/http.rb', line 31

def text
  @text
end

Instance Method Details

#to_sObject



32
33
34
# File 'lib/gecko/http.rb', line 32

def to_s
  self.text
end