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.3.24 lib/tickethub.rb
tickethub-0.3.23 lib/tickethub.rb
tickethub-0.3.22 lib/tickethub.rb
tickethub-0.3.21 lib/tickethub.rb
tickethub-0.3.20 lib/tickethub.rb
tickethub-0.3.18 lib/tickethub.rb
tickethub-0.3.17 lib/tickethub.rb
tickethub-0.3.16 lib/tickethub.rb
tickethub-0.3.15 lib/tickethub.rb
tickethub-0.3.14 lib/tickethub.rb
tickethub-0.3.13 lib/tickethub.rb
tickethub-0.3.12 lib/tickethub.rb
tickethub-0.3.11 lib/tickethub.rb
tickethub-0.3.9 lib/tickethub.rb
tickethub-0.3.0 lib/tickethub.rb
tickethub-0.2.18 lib/tickethub.rb
tickethub-0.2.17 lib/tickethub.rb
tickethub-0.2.15 lib/tickethub.rb
tickethub-0.2.14 lib/tickethub.rb
tickethub-0.2.13 lib/tickethub.rb