Class: Trav3::RequestError

Inherits:
Response show all
Defined in:
lib/trav3/result.rb

Instance Method Summary collapse

Methods inherited from Response

#initialize, #inspect

Constructor Details

This class inherits a constructor from Trav3::Response

Instance Method Details

#failure?Boolean

Returns:

  • (Boolean)

76
77
78
# File 'lib/trav3/result.rb', line 76

def failure?
  true
end

#success?Boolean

Returns:

  • (Boolean)

72
73
74
# File 'lib/trav3/result.rb', line 72

def success?
  false
end