Sha256: 1590e987433343f2cd28844ac9f1392496e9b1aca305df0ba1bad61cd6624cca

Contents?: true

Size: 843 Bytes

Versions: 36

Compression:

Stored size: 843 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/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

36 entries across 36 versions & 1 rubygems

Version Path
travis-1.5.9.travis.360.4 lib/travis/client.rb
travis-1.5.9.travis.358.4 lib/travis/client.rb
travis-1.5.8 lib/travis/client.rb
travis-1.5.8.travis.356.4 lib/travis/client.rb
travis-1.5.7 lib/travis/client.rb
travis-1.5.7.travis.345.4 lib/travis/client.rb
travis-1.5.7.travis.341.4 lib/travis/client.rb
travis-1.5.7.travis.338.4 lib/travis/client.rb
travis-1.5.6 lib/travis/client.rb
travis-1.5.6.travis.337.4 lib/travis/client.rb
travis-1.5.6.travis.336.4 lib/travis/client.rb
travis-1.5.6.travis.333.4 lib/travis/client.rb
travis-1.5.6.travis.332.4 lib/travis/client.rb
travis-1.5.6.travis.330.4 lib/travis/client.rb
travis-1.5.6.travis.329.4 lib/travis/client.rb
travis-1.5.6.travis.326.4 lib/travis/client.rb
travis-1.5.6.travis.324.4 lib/travis/client.rb
travis-1.5.6.travis.323.4 lib/travis/client.rb
travis-1.5.6.travis.320.4 lib/travis/client.rb
travis-1.5.6.travis.319.4 lib/travis/client.rb