Method: Retailcrm#payment_types_edit

Defined in:
lib/retailcrm.rb

#payment_types_edit(payment_type) ⇒ Object



549
550
551
552
553
554
# File 'lib/retailcrm.rb', line 549

def payment_types_edit(payment_type)
  code = payment_type[:code]
  url = "#{@url}reference/payment-types/#{code}/edit"
  @params[:paymentType] = payment_type.to_json
  make_request(url, 'post')
end