README.md in issuer_response_codes-0.1.0 vs README.md in issuer_response_codes-0.1.1
- old
+ new
@@ -192,15 +192,15 @@
fraud_notice_by_default: true # decide whether fraud attempt warnings/notices should
# be added to code descriptions by default
)
# now just use this object as a proxy
-code = ISSUER_RESPONSE_CODE.code(id: '43')
+code = ISSUER_RESPONSE_CODES.code(id: '43')
code.reason #=> "Bank odrzucił autoryzację."
code.behaviour #=> "Skontaktuj się z Twoim bankiem w celu wyjaśnienia przyczyny problemu. UWAGA: Nie należy powtarzać obciążeń dla tej karty! Może to zostać uznane za próbę oszustwa!"
# these can always be overridden
-code = ISSUER_RESPONSE_CODE.code(id: '43', locale: :en, target: :merchant, fraud_notice: false)
+code = ISSUER_RESPONSE_CODES.code(id: '43', locale: :en, target: :merchant, fraud_notice: false)
code.reason #=> "Stolen card."
code.behaviour #=> "Please contact your card issuer to get more details and try again later."
```