Sha256: a9ec2f9e478588d758925ad402ac4aee65696447f1f8fe79d93f28cd8fc8cdf4

Contents?: true

Size: 796 Bytes

Versions: 11

Compression:

Stored size: 796 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
  
  # HTTP verb for API methods (:get or :post)
  # config.http_verb = :get
  
  # 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

11 entries across 11 versions & 1 rubygems

Version Path
vkontakte_api-1.4.4 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.4.3 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.4.2 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.4 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.3.1 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.3 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.2 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.1 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.0.4 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.0.3 lib/generators/vkontakte_api/install/templates/initializer.rb
vkontakte_api-1.0.2 lib/generators/vkontakte_api/install/templates/initializer.rb