Sha256: 5abcae4bc1a274613d613035f244d5d1a0b47072b55ca60271a54a2da54e16b2

Contents?: true

Size: 904 Bytes

Versions: 21

Compression:

Stored size: 904 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/channel'
  require_relative 'tickethub/reseller'
  require_relative 'tickethub/app'
  require_relative 'tickethub/user'
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
tickethub-0.3.67 lib/tickethub.rb
tickethub-0.3.66 lib/tickethub.rb
tickethub-0.3.65 lib/tickethub.rb
tickethub-0.3.64 lib/tickethub.rb
tickethub-0.3.63 lib/tickethub.rb
tickethub-0.3.62 lib/tickethub.rb
tickethub-0.3.61 lib/tickethub.rb
tickethub-0.3.60 lib/tickethub.rb
tickethub-0.3.59 lib/tickethub.rb
tickethub-0.3.58 lib/tickethub.rb
tickethub-0.3.57 lib/tickethub.rb
tickethub-0.3.55 lib/tickethub.rb
tickethub-0.3.54 lib/tickethub.rb
tickethub-0.3.53 lib/tickethub.rb
tickethub-0.3.52 lib/tickethub.rb
tickethub-0.3.51 lib/tickethub.rb
tickethub-0.3.50 lib/tickethub.rb
tickethub-0.3.49 lib/tickethub.rb
tickethub-0.3.47 lib/tickethub.rb
tickethub-0.3.46 lib/tickethub.rb