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

- old
+ new

@@ -1,8 +1,8 @@ module Centaman class Object::AddOn < Centaman::Object - attr_reader :id, :membership_type_id + attr_reader :id, :membership_type_id, :pay_price def define_variables(args) super @id = membership_code @membership_type_id = args.fetch(:membership_type_id, nil) @@ -39,9 +39,14 @@ type: :string ), Centaman::Attribute.new( centaman_key: 'Cost', app_key: :cost, + type: :float + ), + Centaman::Attribute.new( + centaman_key: 'Cost', + app_key: :pay_price, type: :float ), Centaman::Attribute.new( centaman_key: 'MinimumAgeRequired', app_key: :minimum_age,