Sha256: 9d74d06f959b8da25ed7228639c68288267d3f4dc51018719faa789bbb1ab7d2

Contents?: true

Size: 836 Bytes

Versions: 6

Compression:

Stored size: 836 Bytes

Contents

module Tickethub

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

  def self.endpoint
    Endpoint.new @path || 'https://api.tickethub.io', 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/category'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tickethub-0.0.7 lib/tickethub.rb
tickethub-0.0.6 lib/tickethub.rb
tickethub-0.0.5 lib/tickethub.rb
tickethub-0.0.4 lib/tickethub.rb
tickethub-0.0.3 lib/tickethub.rb
tickethub-0.0.2 lib/tickethub.rb