Method: AsposePdfCloud::Configuration#initialize
- Defined in:
- lib/aspose_pdf_cloud/configuration.rb
#initialize {|_self| ... } ⇒ Configuration
Returns a new instance of Configuration.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 |
# File 'lib/aspose_pdf_cloud/configuration.rb', line 117 def initialize @scheme = 'https' @host = 'api.aspose.cloud' @timeout = 5 * 60 @client_side_validation = true @verify_ssl = true @verify_ssl_host = true @params_encoding = nil @cert_file = nil @key_file = nil @debugging = false @inject_format = false @force_ending_format = false @logger = defined?(Rails) ? Rails.logger : Logger.new(STDOUT) yield(self) if block_given? end |