lib/rmega/options.rb in rmega-0.2.0 vs lib/rmega/options.rb in rmega-0.2.1

- old
+ new

@@ -6,21 +6,23 @@ retry_interval: 3, http_open_timeout: 180, http_read_timeout: 180, # http_proxy_address: '127.0.0.1', # http_proxy_port: 8080, - show_progress: true, + show_progress: false, file_integrity_check: true, api_url: 'https://eu.api.mega.co.nz/cs' } end def self.options @options ||= OpenStruct.new(default_options) end module Options - extend ActiveSupport::Concern + def self.included(base) + base.__send__(:extend, ClassMethods) + end def options Rmega.options end