lib/gocardless_pro/services/billing_request_flows_service.rb
# Creates a new billing request flow.
# Example URL: /billing_request_flows
# @param options [Hash] parameters as a hash, under a params key.
Creates a new billing request flow.
Creates a new billing request flow .
def create(options = {})
        path = '/billing_request_flows'
        params = options.delete(:params) || {}
        options[:params] = {}
        options[:params][envelope_key] = params
        options[:retry_failures] = true
        response = make_request(:post, path, options)
        return if response.body.nil?
        Resources::BillingRequestFlow.new(unenvelope_body(response.body), response)
      end
def create ( options = { } ) path = '/billing_request_flows' params = options . delete ( :params ) || { } options [ :params ] = { } options [ :params ] [ envelope_key ] = params options [ :retry_failures ] = true response = make_request ( :post , path , options ) return if response . body . nil? Resources :: BillingRequestFlow . new ( unenvelope_body ( response . body ) , response ) end
Creates a new billing request flow.
Creates a new billing request flow .
options
parameters as a hash, under a params key.
parameters as a hash under a params key .