Method: MC2P::PayData#card
- Defined in:
- lib/objects.rb
#card(gateway_code, data = nil) ⇒ Object
Send card details Params:
gateway_code-
gateway_code to send
data-
data to send
Returns: response dictionary
138 139 140 141 142 143 144 |
# File 'lib/objects.rb', line 138 def card(gateway_code, data = nil) @cs_mixin.json_dict = @json_dict @cs_mixin._deleted = @_deleted @cs_mixin.card(gateway_code, data) @json_dict = @cs_mixin.json_dict @_deleted = @cs_mixin._deleted end |