class MC2P::ChargeObjectItemMixin

Allows make charge an object item

Public Instance Methods

charge(data = nil) click to toggle source

Refund the object item Params:

data

data to send

Returns: response dictionary

# File lib/mixins.rb, line 165
def charge(data = nil)
  id_required_and_not_deleted
  @resource.charge(
      @json_dict[@id_property],
      data
  )
end