Sha256: a148d21f07b0b4359975f717a7817e1ee5368bbfbac2a67d72ebbf4a59ad2f6c

Contents?: true

Size: 1.11 KB

Versions: 82

Compression:

Stored size: 1.11 KB

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/has_uuid'
require 'travis/client/methods'
require 'travis/client/session'
require 'travis/client/entity'
require 'travis/client/user'
require 'travis/client/repository'
require 'travis/client/env_var'
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/singleton_setting'
require 'travis/client/ssh_key'
require 'travis/client/request'
require 'travis/client/listener'
require 'travis/client/lint_result'

module Travis
  module Client
    ORG_URI = 'https://api.travis-ci.org/'
    COM_URI = 'https://api.travis-ci.com/'

    def self.new(options = {})
      options[:uri] ||= ORG_URI if options.is_a? Hash and not options['uri']
      Session.new(options)
    end
  end
end

Version data entries

82 entries across 82 versions & 2 rubygems

Version Path
travis-1.8.9.travis.918.11 lib/travis/client.rb
travis-1.8.9.travis.916.11 lib/travis/client.rb