Module: Myclear
- Defined in:
- lib/myclear.rb,
lib/myclear/sign.rb,
lib/myclear/utils.rb,
lib/myclear/service.rb,
lib/myclear/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.1.0"
Class Attribute Summary collapse
-
.debug_mode ⇒ Object
Returns the value of attribute debug_mode.
-
.digest_type ⇒ Object
Returns the value of attribute digest_type.
-
.fpx_certification ⇒ Object
Returns the value of attribute fpx_certification.
-
.fpx_standby_certification ⇒ Object
Returns the value of attribute fpx_standby_certification.
-
.fpx_version ⇒ Object
Returns the value of attribute fpx_version.
-
.private_key ⇒ Object
Returns the value of attribute private_key.
-
.seller_exchange_id ⇒ Object
Returns the value of attribute seller_exchange_id.
-
.seller_id ⇒ Object
Returns the value of attribute seller_id.
-
.uat ⇒ Object
Returns the value of attribute uat.
Class Method Summary collapse
Class Attribute Details
.debug_mode ⇒ Object
Returns the value of attribute debug_mode.
14 15 16 |
# File 'lib/myclear.rb', line 14 def debug_mode @debug_mode end |
.digest_type ⇒ Object
Returns the value of attribute digest_type.
15 16 17 |
# File 'lib/myclear.rb', line 15 def digest_type @digest_type end |
.fpx_certification ⇒ Object
Returns the value of attribute fpx_certification.
16 17 18 |
# File 'lib/myclear.rb', line 16 def fpx_certification @fpx_certification end |
.fpx_standby_certification ⇒ Object
Returns the value of attribute fpx_standby_certification.
16 17 18 |
# File 'lib/myclear.rb', line 16 def fpx_standby_certification @fpx_standby_certification end |
.fpx_version ⇒ Object
Returns the value of attribute fpx_version.
15 16 17 |
# File 'lib/myclear.rb', line 15 def fpx_version @fpx_version end |
.private_key ⇒ Object
Returns the value of attribute private_key.
16 17 18 |
# File 'lib/myclear.rb', line 16 def private_key @private_key end |
.seller_exchange_id ⇒ Object
Returns the value of attribute seller_exchange_id.
17 18 19 |
# File 'lib/myclear.rb', line 17 def seller_exchange_id @seller_exchange_id end |
.seller_id ⇒ Object
Returns the value of attribute seller_id.
17 18 19 |
# File 'lib/myclear.rb', line 17 def seller_id @seller_id end |
.uat ⇒ Object
Returns the value of attribute uat.
14 15 16 |
# File 'lib/myclear.rb', line 14 def uat @uat end |
Class Method Details
.debug_mode? ⇒ Boolean
19 20 21 |
# File 'lib/myclear.rb', line 19 def debug_mode? !!@debug_mode end |
.service_host ⇒ Object
27 28 29 |
# File 'lib/myclear.rb', line 27 def service_host uat? ? 'https://uat.mepsfpx.com.my' : 'https://mepsfpx.com.my' end |
.uat? ⇒ Boolean
23 24 25 |
# File 'lib/myclear.rb', line 23 def uat? !!@uat end |