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.96 lib/tickethub.rb
tickethub-0.3.95 lib/tickethub.rb
tickethub-0.3.94 lib/tickethub.rb
tickethub-0.3.93 lib/tickethub.rb
tickethub-0.3.92 lib/tickethub.rb
tickethub-0.3.91 lib/tickethub.rb
tickethub-0.3.90 lib/tickethub.rb
tickethub-0.3.89 lib/tickethub.rb
tickethub-0.3.88 lib/tickethub.rb
tickethub-0.3.87 lib/tickethub.rb
tickethub-0.3.86 lib/tickethub.rb
tickethub-0.3.85 lib/tickethub.rb
tickethub-0.3.84 lib/tickethub.rb
tickethub-0.3.82 lib/tickethub.rb
tickethub-0.3.81 lib/tickethub.rb
tickethub-0.3.80 lib/tickethub.rb
tickethub-0.3.79 lib/tickethub.rb
tickethub-0.3.78 lib/tickethub.rb
tickethub-0.3.77 lib/tickethub.rb
tickethub-0.3.76 lib/tickethub.rb