Sha256: c41f86128dfeb3d200cce1b73e60f17a1511020a3a821160102553d2fe91f514

Contents?: true

Size: 910 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
travis-1.6.8.travis.447.6 lib/travis/client.rb
travis-1.6.7.travis.446.6 lib/travis/client.rb
travis-1.6.7 lib/travis/client.rb
travis-1.6.7.travis.445.6 lib/travis/client.rb
travis-1.6.7.travis.443.6 lib/travis/client.rb
travis-1.6.7.travis.442.6 lib/travis/client.rb
travis-1.6.7.travis.441.6 lib/travis/client.rb