Skip to content

Commit 23c8e48

Browse files
committed
[#2054] Slight tweaks to new CardScheme document
1 parent a1ed0c2 commit 23c8e48

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

reference/constraints/CardScheme.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ through a payment gateway.
2222
Basic Usage
2323
-----------
2424

25-
To use the CardScheme validator, simply apply it to a property or method on an
26-
object that will contain a credit card number.
25+
To use the ``CardScheme`` validator, simply apply it to a property or method
26+
on an object that will contain a credit card number.
2727

2828
.. configuration-block::
2929

@@ -91,7 +91,7 @@ Available Options
9191
schemes
9292
-------
9393

94-
**type**: ``array``
94+
**type**: ``array`` [:ref:`default option<validation-default-option>`]
9595

9696
This option is required and represents the name of the number scheme used to
9797
validate the credit card number. Valid values are:
@@ -107,13 +107,13 @@ validate the credit card number. Valid values are:
107107
* ``MASTERCARD``
108108
* ``VISA``
109109

110-
For more information about the used schemes, see `Wikipedia`_.
110+
For more information about the used schemes, see `Wikipedia: Issuer identification number (IIN)`_.
111111

112112
message
113113
~~~~~~~
114114

115115
**type**: ``string`` **default**: ``Unsupported card type or invalid card number``
116116

117-
The default message supplied when the value does not pass the CardScheme check.
117+
The message shown when the value does not pass the ``CardScheme`` check.
118118

119-
.. _`Wikipedia`: http://en.wikipedia.org/wiki/Bank_card_number#Issuer_identification_number_.28IIN.29
119+
.. _`Wikipedia: Issuer identification number (IIN)`: http://en.wikipedia.org/wiki/Bank_card_number#Issuer_identification_number_.28IIN.29

0 commit comments

Comments
 (0)