Sha256: e0dc2f653b9b5ea5568d49cb5c62b1ba813907f9d91b28748656c5e16b0d569a

Contents?: true

Size: 830 Bytes

Versions: 1

Compression:

Stored size: 830 Bytes

Contents

require 'active_support/core_ext/module/attribute_accessors'
require 'active_support/core_ext/object'
require 'active_support/core_ext/string'

module Vkontakte
  autoload :Config, 'vkontakte/config'
  autoload :Utils, 'vkontakte/utils'
  
  module App
    autoload :Base, 'vkontakte/app/base'
    autoload :Iframe, 'vkontakte/app/iframe'
    autoload :Secure, 'vkontakte/app/secure'
    autoload :User, 'vkontakte/app/user'
  end
  
  module Api
    autoload :Base, 'vkontakte/api/base'
    autoload :Photos, 'vkontakte/api/photos'
    autoload :Friends, 'vkontakte/api/friends'
    autoload :Groups, 'vkontakte/api/groups'
    autoload :Secure, 'vkontakte/api/secure'
    autoload :Profile, 'vkontakte/api/profile'
  end
  
  mattr_accessor :config
  @@config = Config.new
  
  def self.setup(&block)
    yield config
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vkontakte-0.0.2 lib/vkontakte.rb