Sha256: 7c2d6db32cd2e90e924821020bcc3ee41d039a651b2657447cfd68e4300fcd69

Contents?: true

Size: 708 Bytes

Versions: 11

Compression:

Stored size: 708 Bytes

Contents

require 'backports/1.9.3' if RUBY_VERSION < '1.9.3'
require 'travis/client/error'
require 'travis/client/states'
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'

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

11 entries across 11 versions & 1 rubygems

Version Path
travis-1.3.1 lib/travis/client.rb
travis-1.3.0 lib/travis/client.rb
travis-1.2.8 lib/travis/client.rb
travis-1.2.7 lib/travis/client.rb
travis-1.2.6 lib/travis/client.rb
travis-1.2.5 lib/travis/client.rb
travis-1.2.4 lib/travis/client.rb
travis-1.2.3 lib/travis/client.rb
travis-1.2.2 lib/travis/client.rb
travis-1.2.1 lib/travis/client.rb
travis-1.2.0 lib/travis/client.rb