Sha256: 6463a5e48258c65d2c4c5ad8443261b9afd9c12a8c208097c2742d809c25f8e3

Contents?: true

Size: 875 Bytes

Versions: 14

Compression:

Stored size: 875 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/namespace'
require 'travis/client/account'
require 'travis/client/broadcast'
require 'travis/client/settings'
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

14 entries across 14 versions & 1 rubygems

Version Path
travis-1.6.7.travis.434.6 lib/travis/client.rb
travis-1.6.7.travis.431.6 lib/travis/client.rb
travis-1.6.7.travis.428.9 lib/travis/client.rb
travis-1.6.7.travis.427.9 lib/travis/client.rb
travis-1.6.7.travis.426.8 lib/travis/client.rb
travis-1.6.7.travis.425.8 lib/travis/client.rb
travis-1.6.7.travis.422.4 lib/travis/client.rb
travis-1.6.7.travis.420.4 lib/travis/client.rb
travis-1.6.6 lib/travis/client.rb
travis-1.6.6.travis.419.4 lib/travis/client.rb
travis-1.6.6.travis.417.4 lib/travis/client.rb
travis-1.6.5 lib/travis/client.rb
travis-1.6.4.travis.414.4 lib/travis/client.rb
travis-1.6.4.travis.413.4 lib/travis/client.rb