Sha256: b561b389dc6a165c4ec1c2afe4ea1446f576e956236ada5238eb55e01c8486ba
Contents?: true
Size: 343 Bytes
Versions: 2
Compression:
Stored size: 343 Bytes
Contents
require 'ostruct' module Rmega def self.default_options { upload_timeout: 120, max_retries: 10, retry_interval: 1, api_request_timeout: 20, api_url: 'https://eu.api.mega.co.nz/cs' } end def self.options @options ||= OpenStruct.new(default_options) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rmega-0.1.7 | lib/rmega/options.rb |
rmega-0.1.6 | lib/rmega/options.rb |