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.44 lib/tickethub.rb
tickethub-0.3.43 lib/tickethub.rb
tickethub-0.3.42 lib/tickethub.rb
tickethub-0.3.41 lib/tickethub.rb
tickethub-0.3.40 lib/tickethub.rb
tickethub-0.3.39 lib/tickethub.rb
tickethub-0.3.38 lib/tickethub.rb
tickethub-0.3.37 lib/tickethub.rb
tickethub-0.3.36 lib/tickethub.rb
tickethub-0.3.35 lib/tickethub.rb
tickethub-0.3.34 lib/tickethub.rb
tickethub-0.3.33 lib/tickethub.rb
tickethub-0.3.32 lib/tickethub.rb
tickethub-0.3.31 lib/tickethub.rb
tickethub-0.3.30 lib/tickethub.rb
tickethub-0.3.29 lib/tickethub.rb
tickethub-0.3.28 lib/tickethub.rb
tickethub-0.3.27 lib/tickethub.rb
tickethub-0.3.26 lib/tickethub.rb
tickethub-0.3.25 lib/tickethub.rb