Sha256: 218a0d30365d12accb7660e4bc841d262a585e47fc77e74c64ffb7890dfd3301

Contents?: true

Size: 547 Bytes

Versions: 3

Compression:

Stored size: 547 Bytes

Contents

require 'json_api_client'
require "tito/version"
require "tito/base"
require "tito/oauth2_middleware"
require "tito/eventable"

require "tito/account"
require "tito/discount_code"
require "tito/event_settings"
require "tito/interested_user"
require "tito/question"
require "tito/registration"
require "tito/release"
require "tito/ticket"
require "tito/event"
require "tito/webhook_endpoint"

module Tito
  cattr_accessor :api_key
end

Tito::Base.connection do |connection|
  connection.use Tito::OAuth2Middleware, lambda { |env| Tito.api_key }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tito-0.1.10 lib/tito.rb
tito-0.1.9 lib/tito.rb
tito-0.1.8 lib/tito.rb