Class: MomoPay::Config
- Inherits:
-
Object
- Object
- MomoPay::Config
- Defined in:
- lib/momo_pay/config.rb
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#partner_code ⇒ Object
Returns the value of attribute partner_code.
-
#partner_name ⇒ Object
Returns the value of attribute partner_name.
-
#public_key ⇒ Object
Returns the value of attribute public_key.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#signature_confirm_keys ⇒ Object
Returns the value of attribute signature_confirm_keys.
-
#signature_verify_keys ⇒ Object
Returns the value of attribute signature_verify_keys.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #public_key_pem ⇒ Object
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
21 22 23 24 |
# File 'lib/momo_pay/config.rb', line 21 def initialize self.signature_verify_keys = MomoPay::Default::SIGNATURE_VERIFY_KEYS self.signature_confirm_keys = MomoPay::Default::SIGNATURE_CONFIRM_KEYS end |
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
4 5 6 |
# File 'lib/momo_pay/config.rb', line 4 def domain @domain end |
#partner_code ⇒ Object
Returns the value of attribute partner_code.
7 8 9 |
# File 'lib/momo_pay/config.rb', line 7 def partner_code @partner_code end |
#partner_name ⇒ Object
Returns the value of attribute partner_name.
8 9 10 |
# File 'lib/momo_pay/config.rb', line 8 def partner_name @partner_name end |
#public_key ⇒ Object
Returns the value of attribute public_key.
5 6 7 |
# File 'lib/momo_pay/config.rb', line 5 def public_key @public_key end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
6 7 8 |
# File 'lib/momo_pay/config.rb', line 6 def secret_key @secret_key end |
#signature_confirm_keys ⇒ Object
Returns the value of attribute signature_confirm_keys.
11 12 13 |
# File 'lib/momo_pay/config.rb', line 11 def signature_confirm_keys @signature_confirm_keys end |
#signature_verify_keys ⇒ Object
Returns the value of attribute signature_verify_keys.
10 11 12 |
# File 'lib/momo_pay/config.rb', line 10 def signature_verify_keys @signature_verify_keys end |