Sha256: 6cabe80c2f875932fff0623dd0b05520b4af6462cdf6125ae15c888bf7048360

Contents?: true

Size: 677 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

Version Path
travis-1.1.3 lib/travis/client.rb
travis-1.1.2 lib/travis/client.rb
travis-1.1.1 lib/travis/client.rb
travis-1.1.0 lib/travis/client.rb