class ConstantContact::Webhooks::Models::BillingChangeNotification
Attributes
event_type[RW]
url[RW]
Public Class Methods
create(props)
click to toggle source
Factory method to create a BillingChangeNotification
model object from a hash @param [Hash] props - hash of properties to create object from @return [BillingChangeNotification]
# File lib/constantcontact/webhooks/models/billing_change_notification.rb, line 16 def self.create(props) obj = BillingChangeNotification.new props.each do |key, value| key = key.to_s obj.send("#{key}=", value) if obj.respond_to? key end if props obj end