Method: MC2P::ChargeObjectItemMixin#charge
- Defined in:
- lib/mixins.rb
#charge(data = nil) ⇒ Object
Refund the object item Params:
data-
data to send
Returns: response dictionary
165 166 167 168 169 170 171 |
# File 'lib/mixins.rb', line 165 def charge(data = nil) id_required_and_not_deleted @resource.charge( @json_dict[@id_property], data ) end |