Module: VkontakteApi
- Extended by:
- Authorization, Configuration, Uploading
- Defined in:
- lib/vkontakte_api.rb,
lib/vkontakte_api/api.rb,
lib/vkontakte_api/error.rb,
lib/vkontakte_api/utils.rb,
lib/vkontakte_api/client.rb,
lib/vkontakte_api/logger.rb,
lib/vkontakte_api/method.rb,
lib/vkontakte_api/result.rb,
lib/vkontakte_api/version.rb,
lib/vkontakte_api/resolver.rb,
lib/vkontakte_api/namespace.rb,
lib/vkontakte_api/uploading.rb,
lib/vkontakte_api/resolvable.rb,
lib/vkontakte_api/authorization.rb,
lib/vkontakte_api/configuration.rb
Overview
Main module.
Defined Under Namespace
Modules: API, Authorization, Configuration, Resolvable, Resolver, Result, Uploading, Utils Classes: Client, Error, InstallGenerator, Logger, Method, Namespace
Constant Summary collapse
- VERSION =
Library version.
'1.4.4'
Constants included from Configuration
Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_HTTP_VERB, Configuration::DEFAULT_LOGGER_OPTIONS, Configuration::DEFAULT_MAX_RETRIES, Configuration::OPTION_NAMES
Constants included from Authorization
Class Method Summary collapse
-
.register_alias ⇒ Object
Creates a short alias
VK
forVkontakteApi
module. -
.unregister_alias ⇒ Object
Removes the
VK
alias.
Methods included from Configuration
Methods included from Authorization
Methods included from Uploading
Class Method Details
.register_alias ⇒ Object
Creates a short alias VK
for VkontakteApi
module.
32 33 34 |
# File 'lib/vkontakte_api.rb', line 32 def register_alias Object.const_set(:VK, VkontakteApi) end |
.unregister_alias ⇒ Object
Removes the VK
alias.
37 38 39 |
# File 'lib/vkontakte_api.rb', line 37 def unregister_alias Object.send(:remove_const, :VK) if defined?(VK) end |