Module: Cmbpay

Defined in:
lib/cmbpay.rb,
lib/cmbpay/sign.rb,
lib/cmbpay/utils.rb,
lib/cmbpay/service.rb,
lib/cmbpay/version.rb

Defined Under Namespace

Modules: Service, Sign, Utils

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.branch_noObject

Returns the value of attribute branch_no.



13
14
15
# File 'lib/cmbpay.rb', line 13

def branch_no
  @branch_no
end

.debug_modeObject

Returns the value of attribute debug_mode.



13
14
15
# File 'lib/cmbpay.rb', line 13

def debug_mode
  @debug_mode
end

.extra_rest_client_optionsObject

Returns the value of attribute extra_rest_client_options.



13
14
15
# File 'lib/cmbpay.rb', line 13

def extra_rest_client_options
  @extra_rest_client_options
end

.keyObject

Returns the value of attribute key.



13
14
15
# File 'lib/cmbpay.rb', line 13

def key
  @key
end

.merchant_noObject

Returns the value of attribute merchant_no.



13
14
15
# File 'lib/cmbpay.rb', line 13

def merchant_no
  @merchant_no
end

.sandbox_modeObject

Returns the value of attribute sandbox_mode.



13
14
15
# File 'lib/cmbpay.rb', line 13

def sandbox_mode
  @sandbox_mode
end

.sign_typeObject

Returns the value of attribute sign_type.



13
14
15
# File 'lib/cmbpay.rb', line 13

def sign_type
  @sign_type
end

Class Method Details

.debug_mode?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/cmbpay.rb', line 16

def debug_mode?
  !!@debug_mode
end