class MC2P::CardShareObjectItemMixin
Allows make card and share an object item
Public Instance Methods
card(gateway_code, data = nil)
click to toggle source
Send card details Params:
gateway_code
-
gateway_code to send
data
-
data to send
Returns: response dictionary
# File lib/mixins.rb, line 137 def card(gateway_code, data = nil) id_required_and_not_deleted @resource.card( @json_dict[@id_property], gateway_code, data ) end