Sha256: 920c196d9912fe717a72062b2a736e1e07124edbb8f56de1185639fa8a0e6d9e

Contents?: true

Size: 740 Bytes

Versions: 1

Compression:

Stored size: 740 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'
require 'travis/client/account'

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

1 entries across 1 versions & 1 rubygems

Version Path
travis-1.4.0 lib/travis/client.rb