Sha256: 03bb1b992e8ce423abe4834509da22baa22aa9c997cd72a4e5f354cdd653b443

Contents?: true

Size: 825 Bytes

Versions: 53

Compression:

Stored size: 825 Bytes

Contents

module Tickethub

  def self.endpoint=(path)
    @path = path
  end

  def self.endpoint(options = {})
    Endpoint.new @path || 'https://api.tickethub.io', options.merge(format: :json,
      headers: { 'Accept-Version' => 'v1', 'Accept' => 'application/json' })
  end

  require_relative 'tickethub/helpers'

  require_relative 'tickethub/connection'
  require_relative 'tickethub/request'
  require_relative 'tickethub/response'
  require_relative 'tickethub/formats'
  require_relative 'tickethub/exceptions'
  require_relative 'tickethub/endpoint'

  require_relative 'tickethub/resource'
  require_relative 'tickethub/collection'
  require_relative 'tickethub/errors'

  require_relative 'tickethub/token'
  require_relative 'tickethub/supplier'
  require_relative 'tickethub/app'
  require_relative 'tickethub/user'
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
tickethub-0.2.12 lib/tickethub.rb
tickethub-0.2.11 lib/tickethub.rb
tickethub-0.2.10 lib/tickethub.rb
tickethub-0.2.9 lib/tickethub.rb
tickethub-0.2.8 lib/tickethub.rb
tickethub-0.2.7 lib/tickethub.rb
tickethub-0.2.6 lib/tickethub.rb
tickethub-0.2.5 lib/tickethub.rb
tickethub-0.2.4 lib/tickethub.rb
tickethub-0.2.3 lib/tickethub.rb
tickethub-0.2.2 lib/tickethub.rb
tickethub-0.2.1 lib/tickethub.rb
tickethub-0.2.0 lib/tickethub.rb