Skip to content

Commit 0f6541d

Browse files
Use string instead of class in initializer
The class won't be loaded yet in newer versions of Rails this will error.
1 parent b1cdc08 commit 0f6541d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ variables you can create the following static configuration:
6767
Spree.config do |config|
6868
# ...
6969
config.static_model_preferences.add(
70-
SolidusAffirmV2::PaymentMethod,
70+
"SolidusAffirmV2::PaymentMethod",
7171
'affirm_env_credentials',
7272
public_api_key: ENV['AFFIRM_PUBLIC_KEY'],
7373
private_api_key: ENV['AFFIRM_PRIVATE_KEY'],

0 commit comments

Comments
 (0)