Module: GmoPayment::Configure

Defined in:
lib/gmo_payment/configure.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_endpointObject



14
15
16
# File 'lib/gmo_payment/configure.rb', line 14

def api_endpoint
  @api_endpoint
end

.error_listObject



14
# File 'lib/gmo_payment/configure.rb', line 14

attr_accessor :api_endpoint, :proxy, :verify_mode, :error_list, :site_id, :site_pass, :shop_id, :shop_pass

.proxyObject



14
# File 'lib/gmo_payment/configure.rb', line 14

attr_accessor :api_endpoint, :proxy, :verify_mode, :error_list, :site_id, :site_pass, :shop_id, :shop_pass

.shop_idObject



14
# File 'lib/gmo_payment/configure.rb', line 14

attr_accessor :api_endpoint, :proxy, :verify_mode, :error_list, :site_id, :site_pass, :shop_id, :shop_pass

.shop_passObject



14
# File 'lib/gmo_payment/configure.rb', line 14

attr_accessor :api_endpoint, :proxy, :verify_mode, :error_list, :site_id, :site_pass, :shop_id, :shop_pass

.site_idObject



14
# File 'lib/gmo_payment/configure.rb', line 14

attr_accessor :api_endpoint, :proxy, :verify_mode, :error_list, :site_id, :site_pass, :shop_id, :shop_pass

.site_passObject



14
# File 'lib/gmo_payment/configure.rb', line 14

attr_accessor :api_endpoint, :proxy, :verify_mode, :error_list, :site_id, :site_pass, :shop_id, :shop_pass

.verify_modeObject



14
# File 'lib/gmo_payment/configure.rb', line 14

attr_accessor :api_endpoint, :proxy, :verify_mode, :error_list, :site_id, :site_pass, :shop_id, :shop_pass

Class Method Details

.reset!Object



22
23
24
25
26
# File 'lib/gmo_payment/configure.rb', line 22

def reset!
  instance_variables.each do |variable|
    remove_instance_variable(variable)
  end
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



17
18
19
# File 'lib/gmo_payment/configure.rb', line 17

def setup
  yield(self)
end