Class: CheckoutSdk::StaticKeysBuilder
- Inherits:
-
AbstractCheckoutSdkBuilder
- Object
- AbstractCheckoutSdkBuilder
- CheckoutSdk::StaticKeysBuilder
- Defined in:
- lib/checkout_sdk/static_keys_builder.rb
Direct Known Subclasses
CheckoutStaticKeysSdkBuilder, Previous::CheckoutPreviousStaticKeysSdkBuilder
Instance Attribute Summary collapse
-
#public_key ⇒ Object
Returns the value of attribute public_key.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Attributes inherited from AbstractCheckoutSdkBuilder
#environment, #environment_subdomain, #http_client, #logger, #multipart_http_client
Instance Method Summary collapse
Methods inherited from AbstractCheckoutSdkBuilder
#with_environment, #with_environment_subdomain, #with_http_client, #with_logger, #with_multipart_http_client
Instance Attribute Details
#public_key ⇒ Object
Returns the value of attribute public_key.
5 6 7 |
# File 'lib/checkout_sdk/static_keys_builder.rb', line 5 def public_key @public_key end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
5 6 7 |
# File 'lib/checkout_sdk/static_keys_builder.rb', line 5 def secret_key @secret_key end |
Instance Method Details
#with_public_key(public_key) ⇒ Object
14 15 16 17 |
# File 'lib/checkout_sdk/static_keys_builder.rb', line 14 def with_public_key(public_key) @public_key = public_key self end |
#with_secret_key(secret_key) ⇒ Object
8 9 10 11 |
# File 'lib/checkout_sdk/static_keys_builder.rb', line 8 def with_secret_key(secret_key) @secret_key = secret_key self end |