Module: Lanmao::Api::Trade::EstablishProject
- Defined in:
- lib/lanmao/api/trade/establish_project.rb
Instance Method Summary collapse
Instance Method Details
#establish_project(request_no, user_no, project_no, project_amount, project_name, project_type, annnual_interest_rate, repayment_way, project_period, project_description = nil, extend_info = nil) ⇒ Hash
创建标的
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/lanmao/api/trade/establish_project.rb', line 16 def establish_project(request_no, user_no, project_no, project_amount, project_name, project_type, annnual_interest_rate, repayment_way, project_period, project_description=nil, extend_info=nil) service = 'ESTABLISH_PROJECT' params = { platformUserNo: user_no, requestNo: request_no, projectNo: project_no, projectAmount: project_amount, projectName: project_name, projectDescription: project_description, projectType: project_type, projectPeriod: project_period, annnualInterestRate: annnual_interest_rate, repaymentWay: repayment_way, extend: extend_info, } res = operate_post(:operate, service, params, :service) res end |