lib/centaman/object/add_on.rb in centaman-3.0.0 vs lib/centaman/object/add_on.rb in centaman-3.1.0

- old
+ new

@@ -1,8 +1,8 @@ module Centaman class Object::AddOn < Centaman::Object - attr_reader :id, :membership_type_id, :pay_price + attr_reader :id, :membership_type_id def define_variables(args) super @id = membership_code @membership_type_id = args.fetch(:membership_type_id, nil) @@ -13,9 +13,10 @@ id: id, membership_type_id: membership_type_id, membership_code: membership_code, membership_class: membership_class, cost: cost, + pay_price: pay_price, minimum_age: minimum_age, maximum_age: maximum_age, membership_description: membership_description, sale_price: sale_price, is_tax_inclusive: is_tax_inclusive,