Sha256: 942d9972122f312736c341b164f14e961e41947ffcd3cac60ea8dd55f0576d87
Contents?: true
Size: 701 Bytes
Versions: 5
Compression:
Stored size: 701 Bytes
Contents
TelphinApi.configure do |config| # Authorization parameters (not needed when using an external authorization): # config.app_key = '123' # config.app_secret = 'AbCdE654' # config.site = 'https://pbx.telphin.ru/uapi' # 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 TPH for TelphinApi module # TelphinApi.register_alias
Version data entries
5 entries across 5 versions & 1 rubygems