class Segurocomar::Entity::Quote

Public Class Methods

attr_list() click to toggle source
# File lib/segurocomar/entity/quote.rb, line 4
def self.attr_list
  [:id, :code, :created_at, :insurable_kind_code,
    :quote_products, :quoted_insurable, :lead,
    :referral_code, :ad_campaign]
end
new(attributes={}) click to toggle source
# File lib/segurocomar/entity/quote.rb, line 12
def initialize(attributes={})
  attributes.each do |k, v|
    self.send("#{k}=", v) if self.respond_to?(k)
  end
end