Sha256: 06127baea3040f930dca94e8bbc496a3648418cb456fdcd166ac14943e070de5

Contents?: true

Size: 829 Bytes

Versions: 27

Compression:

Stored size: 829 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/user'
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
tickethub-0.3.75 lib/tickethub.rb
tickethub-0.3.74 lib/tickethub.rb
tickethub-0.3.73 lib/tickethub.rb
tickethub-0.3.72 lib/tickethub.rb
tickethub-0.3.71 lib/tickethub.rb
tickethub-0.3.70 lib/tickethub.rb
tickethub-0.3.68 lib/tickethub.rb