Sha256: b297048bb3236a0a579ebbf1e20511e318974e13115c24e262a5e3631dee4403

Contents?: true

Size: 719 Bytes

Versions: 3

Compression:

Stored size: 719 Bytes

Contents

VkontakteApi.configure do |config|
  # Authorization parameters (not needed when using an external authorization):
  # config.app_id       = '123'
  # config.app_secret   = 'AbCdE654'
  # config.redirect_uri = 'http://example.com/oauth/callback'
  
  # Faraday adapter to make requests with:
  # config.adapter = :net_http
  
  # Logging parameters:
  # log everything through the rails logger
  config.logger = Rails.logger
  
  # log requests' URLs
  # config.log_requests = true
  
  # log response JSON after errors
  # config.log_errors = true
  
  # log response JSON after successful responses
  # config.log_responses = false
end

# create a short alias VK for VkontakteApi module
# VkontakteApi.register_alias

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vkontakte_api-1.0.1 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.0 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.0.rc3 lib/generators/vkontakte_api/install/templates/initializer.rb