class B2bCenterApi::Settings

A 'global' config.

Attributes

auth_options[R]
ftp_options[R]
soap_options[R]
socks_options[R]

Public Class Methods

auth_configure(opts = {}) click to toggle source
# File lib/b2b_center_api/settings.rb, line 14
def self.auth_configure(opts = {})
  opts.each { |k, v| @auth_options[k.to_sym] = v }
end
ftp_configure(opts = {}) click to toggle source
# File lib/b2b_center_api/settings.rb, line 18
def self.ftp_configure(opts = {})
  opts.each { |k, v| @ftp_options[k.to_sym] = v }
end
soap_configure(opts = {}) click to toggle source

Configure through hash

# File lib/b2b_center_api/settings.rb, line 10
def self.soap_configure(opts = {})
  opts.each { |k, v| @soap_options[k.to_sym] = v }
end
socks_configure(opts = {}) click to toggle source
# File lib/b2b_center_api/settings.rb, line 22
def self.socks_configure(opts = {})
  opts.each { |k, v| @socks_options[k.to_sym] = v }
end