class Fuyou::MemberPoint
Public Class Methods
create(org_id, points, rate, service_charge)
click to toggle source
福管企业优分购买下单
# File lib/fuyou/member_point.rb, line 16 def create(org_id, points, rate, service_charge) options = { customNo: Fuyou.config.custom_id, corpAccounts: org_id, goodPoints: points, factorage: rate, factorageAmount: service_charge, customSource: Fuyou.config.custom_source } http_post('/FuyouRest/mjfuguan/fuguanBuyScore', options) end
rate_info(org_id)
click to toggle source
优分购买费率查询
# File lib/fuyou/member_point.rb, line 7 def rate_info(org_id) options = { customNo: Fuyou.config.custom_id, corpAccounts: org_id } http_post('/FuyouRest/mjfuguan/fuguanQueryRateInfo', options) end