Sha256: 7e4975f93d28cc8be7dcdef582e17ac3cfacccf4a90dc95ed174707c930d5df2

Contents?: true

Size: 219 Bytes

Versions: 7

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

module Trav3
  class Success < Response
    def page
      Trav3::Pagination.new(travis, self)
    end

    def success?
      true
    end

    def failure?
      false
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
trav3-0.4.1 lib/trav3/response/success.rb
trav3-0.4.0 lib/trav3/response/success.rb
trav3-0.3.4 lib/trav3/response/success.rb
trav3-0.3.3 lib/trav3/response/success.rb
trav3-0.3.2 lib/trav3/response/success.rb
trav3-0.3.1 lib/trav3/response/success.rb
trav3-0.3.0 lib/trav3/response/success.rb