Sha256: b9c27a8e832c888d48bc6d4a904d4292d0a9c389ebdbbb3167a696107411b031

Contents?: true

Size: 860 Bytes

Versions: 6

Compression:

Stored size: 860 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'
  require_relative 'tickethub/job'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tickethub-0.3.7 lib/tickethub.rb
tickethub-0.3.6 lib/tickethub.rb
tickethub-0.3.4 lib/tickethub.rb
tickethub-0.3.3 lib/tickethub.rb
tickethub-0.3.2 lib/tickethub.rb
tickethub-0.3.1 lib/tickethub.rb