Sha256: 0bff504685ba1e7f181c9ec240a804cd3fbf570abaf77708b3377e640d364a10

Contents?: true

Size: 725 Bytes

Versions: 5

Compression:

Stored size: 725 Bytes

Contents

WialonApi.configure do |config|
  # Faraday adapter to make requests with:
  # config.adapter = :net_http

  # Faraday connection options
  # config.faraday_options = {}

  # HTTP verb for API methods (:get or :post)
  # config.http_verb = :post

  # Number of retries when connection is failed
  # config.max_retries = 1


  # 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

  # Wialon server host
  # config.wialon_host = 'https://hst-api.wialon.com/wialon/ajax.html'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wialon_api-0.0.5 lib/generators/wialon_api/install/templates/initializer.rb
wialon_api-0.0.4 lib/generators/wialon_api/install/templates/initializer.rb
wialon_api-0.0.3 lib/generators/wialon_api/install/templates/initializer.rb
wialon_api-0.0.2 lib/generators/wialon_api/install/templates/initializer.rb
wialon_api-0.0.1 lib/generators/wialon_api/install/templates/initializer.rb