Sha256: 114e11ae9af2937888d6fb4dc4e74dd862d061d2d4727b6e5b47d770562477db

Contents?: true

Size: 1015 Bytes

Versions: 7

Compression:

Stored size: 1015 Bytes

Contents

require 'backports/2.0.0' if RUBY_VERSION < '2.0.0'
require 'travis/client/error'
require 'travis/client/states'
require 'travis/client/restartable'
require 'travis/client/not_loadable'
require 'travis/client/methods'
require 'travis/client/session'
require 'travis/client/entity'
require 'travis/client/user'
require 'travis/client/repository'
require 'travis/client/annotation'
require 'travis/client/build'
require 'travis/client/artifact'
require 'travis/client/cache'
require 'travis/client/commit'
require 'travis/client/job'
require 'travis/client/namespace'
require 'travis/client/account'
require 'travis/client/broadcast'
require 'travis/client/settings'
require 'travis/client/request'
require 'travis/client/listener'
require 'travis/client/lint_result'

module Travis
  module Client
    ORG_URI = 'https://api.travis-ci.org/'
    PRO_URI = 'https://api.travis-ci.com/'

    def self.new(options = {})
      options['uri'] ||= ORG_URI if options.is_a? Hash
      Session.new(options)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
travis-1.6.15.travis.552.6 lib/travis/client.rb
travis-1.6.15.travis.551.6 lib/travis/client.rb
travis-1.6.15.travis.550.6 lib/travis/client.rb
travis-1.6.15.travis.547.6 lib/travis/client.rb
travis-1.6.15.travis.544.6 lib/travis/client.rb
travis-1.6.14.travis.543.6 lib/travis/client.rb
travis-1.6.14 lib/travis/client.rb