lib/trav3/response/success.rb in trav3-0.4.1 vs lib/trav3/response/success.rb in trav3-0.5.0
- old
+ new
@@ -1,16 +1,20 @@
# frozen_string_literal: true
module Trav3
+ # (see Response)
class Success < Response
+ # @return [Pagination]
def page
Trav3::Pagination.new(travis, self)
end
+ # @return [Boolean]
def success?
true
end
+ # @return [Boolean]
def failure?
false
end
end
end