Sha256: 53a6f4422519e2994863dba3f97ba34e4133100556279aaa02d0402d0da3511d

Contents?: true

Size: 979 Bytes

Versions: 33

Compression:

Stored size: 979 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'

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

33 entries across 33 versions & 1 rubygems

Version Path
travis-1.6.10 lib/travis/client.rb
travis-1.6.11.travis.502.6 lib/travis/client.rb
travis-1.6.9 lib/travis/client.rb
travis-1.6.9.travis.484.6 lib/travis/client.rb
travis-1.6.9.travis.483.6 lib/travis/client.rb
travis-1.6.9.travis.479.6 lib/travis/client.rb
travis-1.6.9.travis.463.6 lib/travis/client.rb
travis-1.6.9.travis.462.6 lib/travis/client.rb
travis-1.6.9.travis.461.6 lib/travis/client.rb
travis-1.6.9.travis.458.6 lib/travis/client.rb
travis-1.6.8 lib/travis/client.rb
travis-1.6.8.travis.457.6 lib/travis/client.rb
travis-1.6.8.travis.456.6 lib/travis/client.rb