Sha256: 76be9389574b44f29e3ed78722275e8f54b833b5f3326851db6b85e92eaa6408

Contents?: true

Size: 873 Bytes

Versions: 6

Compression:

Stored size: 873 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/methods'
require 'travis/client/session'
require 'travis/client/entity'
require 'travis/client/user'
require 'travis/client/repository'
require 'travis/client/build'
require 'travis/client/artifact'
require 'travis/client/cache'
require 'travis/client/commit'
require 'travis/client/job'
require 'travis/client/worker'
require 'travis/client/namespace'
require 'travis/client/account'
require 'travis/client/broadcast'
require 'travis/client/listener'

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

6 entries across 6 versions & 1 rubygems

Version Path
travis-1.6.2.travis.364.4 lib/travis/client.rb
travis-1.6.1 lib/travis/client.rb
travis-1.6.1.travis.363.4 lib/travis/client.rb
travis-1.6.0 lib/travis/client.rb
travis-1.5.9.travis.362.4 lib/travis/client.rb
travis-1.5.9.travis.361.4 lib/travis/client.rb