Sha256: 0d1e1b444ac2cf80747ec5f75ee4e5c4c37225a8898811a4223dcc4bc5a0912d

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

require 'uri'

require 'rubygems'
require 'yajl/gzip'
require 'yajl/deflate'
require 'yajl/http_stream'

base = File.expand_path(File.dirname(__FILE__))

# Require Open Class Extensions
Dir[File.join(File.join(base, 'core_ext'), '*.rb')].each { |file| require file }

require File.join(base, 'dribble/version')

module Dribble
  autoload :Request,              'dribble/request'
  autoload :NoMorePagesAvailable, 'dribble/exceptions'
  
  # Custom Objects for easy usage of the Dribble API
  autoload :Player,               'dribble/player'
  autoload :Shot,                 'dribble/shot'
  autoload :Shots,                'dribble/shots'
  autoload :Popular,              'dribble/shots'
  autoload :Debut,                'dribble/shots'
  autoload :Everyone,             'dribble/shots'
  autoload :Following,            'dribble/shots'
  
  # A slimmer API that converts JSON to a Hash. No Object creation overhead.
  module API
    autoload :Player,             'dribble/api/player'
    autoload :Shot,               'dribble/api/shot'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dribble-0.0.31 lib/dribble.rb
dribble-0.0.3 lib/dribble.rb
dribble-0.0.25 lib/dribble.rb
dribble-0.0.2 lib/dribble.rb