Sha256: bfe9cfacf5879d885cd91ef776cdaa7b2f11606e608d3e167dbc98d9ffb979fa

Contents?: true

Size: 833 Bytes

Versions: 4

Compression:

Stored size: 833 Bytes

Contents

module Tickethub

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

  def self.endpoint(options = {})
    Endpoint.new @path || 'https://api.ticketinghub.com', 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/user'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tickethub-0.3.100 lib/tickethub.rb
tickethub-0.3.99 lib/tickethub.rb
tickethub-0.3.98 lib/tickethub.rb
tickethub-0.3.97 lib/tickethub.rb