Repository URL to install this package:
|
Version:
0.9.7 ▾
|
module Lobbyist
module V2
class Promo < Lobbyist::V2::Base
attr_accessor :promo_id, :account_level_id, :account_class, :promo_code
attr_accessor :promo_description, :is_current, :is_visible, :setup_fee
attr_accessor :monthly_fee, :texting_grants, :first_month_fee
attr_accessor :split_activation_fee, :days_available, :cost_per_postcard, :email_add_ons
attr_accessor :prospect_marketing, :prospect_add_ons, :cost_per_magnet_mailer
def add_ons
@add_ons
end
def add_ons(attributes)
@add_ons = []
attributes.each do |attribute|
@add_ons << AddOn.new(attribute)
end
end
end
end
end