lib/root_insurance/api/policy.rb
# Update a policy's billing amount.
#
# @param [String] id The unique identifier of the policy
# @param [Integer] billing_amount The billing amount to be set on the policy in cents.
# @return [Hash]
#
# @example
#  client.update_policy_billing_amount(id: "128ba0c0-3f6a-4f8b-9b40-e2066b02b59e", billing_amount: 45000)
#
Update a policy's billing amount.
Update a policy ' s billing amount .
def update_policy_billing_amount(id:, billing_amount:)
        data = {billing_amount: billing_amount}
        post("policies/#{id}/billing_amount", data)
      end
def update_policy_billing_amount ( id : , billing_amount : ) data = { billing_amount : billing_amount } post ( "policies/#{id}/billing_amount" , data ) end
Update a policy's billing amount.
Update a policy ' s billing amount .
None
Hash
id
<not_specific>
billing_amount
<not_specific>
<not_specific>
billing_amount The billing amount to be set on the policy in cents.
billing_amount The billing amount to be set on the policy in cents .
example
None