Module: Paygent

Defined in:
lib/paygent.rb,
lib/paygent/util.rb,
lib/paygent/entity.rb,
lib/paygent/request.rb,
lib/paygent/service.rb,
lib/paygent/exception.rb

Defined Under Namespace

Classes: Entity, Exception, Request, Service, Util

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.ca_file_pathObject

Returns the value of attribute ca_file_path.



3
4
5
# File 'lib/paygent.rb', line 3

def ca_file_path
  @ca_file_path
end

.cert_passwordObject

Returns the value of attribute cert_password.



3
4
5
# File 'lib/paygent.rb', line 3

def cert_password
  @cert_password
end

.client_file_pathObject

Returns the value of attribute client_file_path.



3
4
5
# File 'lib/paygent.rb', line 3

def client_file_path
  @client_file_path
end

.debug_flgObject

Returns the value of attribute debug_flg.



3
4
5
# File 'lib/paygent.rb', line 3

def debug_flg
  @debug_flg
end

.default_idObject

Returns the value of attribute default_id.



4
5
6
# File 'lib/paygent.rb', line 4

def default_id
  @default_id
end

.default_passwordObject

Returns the value of attribute default_password.



4
5
6
# File 'lib/paygent.rb', line 4

def default_password
  @default_password
end

.log_output_pathObject

Returns the value of attribute log_output_path.



3
4
5
# File 'lib/paygent.rb', line 3

def log_output_path
  @log_output_path
end

.merchant_idObject

Returns the value of attribute merchant_id.



4
5
6
# File 'lib/paygent.rb', line 4

def merchant_id
  @merchant_id
end

.select_max_cntObject

Returns the value of attribute select_max_cnt.



3
4
5
# File 'lib/paygent.rb', line 3

def select_max_cnt
  @select_max_cnt
end

.telegram_versionObject

Returns the value of attribute telegram_version.



4
5
6
# File 'lib/paygent.rb', line 4

def telegram_version
  @telegram_version
end

.timeoutObject

Returns the value of attribute timeout.



3
4
5
# File 'lib/paygent.rb', line 3

def timeout
  @timeout
end

Class Method Details

.init(option = {}) ⇒ Object



20
21
22
# File 'lib/paygent.rb', line 20

def self.init(option={})
  Paygent::Request.new(option)
end

.set_url(kind, url) ⇒ Object



24
25
26
# File 'lib/paygent.rb', line 24

def self.set_url(kind, url)
  Paygent::Service.set_url(kind, url)
end