Method: AdvancedBilling::CustomerResponse#initialize

Defined in:
lib/advanced_billing/models/customer_response.rb

#initialize(customer:, additional_properties: {}) ⇒ CustomerResponse

Returns a new instance of CustomerResponse.



33
34
35
36
37
38
39
40
# File 'lib/advanced_billing/models/customer_response.rb', line 33

def initialize(customer:, additional_properties: {})
  # Add additional model properties to the instance.
  additional_properties.each do |_name, _value|
    instance_variable_set("@#{_name}", _value)
  end

  @customer = customer
end