Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module CalculationDecorator
- extend ActiveSupport::Concern
- included do
- attr_accessor :calculated_price
- attr_accessor :yearly_offer_number
- attr_accessor :yearly_premium_url
- attr_accessor :position_in_leads
- attr_accessor :quotation_token
- attr_accessor :save_quote_key
- attr_accessor :competitors
- end
- end
- # and then
- calc.include(CalculationDecorator)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement