Sha256: 0433cd20e155759ac890c3c69e4acddf82192b66c9e0ec1d11c3b0e3c8556127

Contents?: true

Size: 313 Bytes

Versions: 3

Compression:

Stored size: 313 Bytes

Contents

# 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trav3-1.0.0 lib/trav3/response/success.rb
trav3-0.5.1 lib/trav3/response/success.rb
trav3-0.5.0 lib/trav3/response/success.rb