Class: Trav3::Success

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)

66
67
68
# File 'lib/trav3/result.rb', line 66

def failure?
  false
end

#pageObject


58
59
60
# File 'lib/trav3/result.rb', line 58

def page
  Trav3::Pagination.new(travis, self)
end

#success?Boolean

Returns:

  • (Boolean)

62
63
64
# File 'lib/trav3/result.rb', line 62

def success?
  true
end