class JeraPayment::Plan

Public Instance Methods

features() click to toggle source
# File lib/jera_payment/models/plan.rb, line 12
def features
  ActiveSupport::JSON.decode(self[:features]).map{ |item| item.deep_symbolize_keys } if self[:features]
end
features=(value) click to toggle source
# File lib/jera_payment/models/plan.rb, line 8
def features=(value)
  write_attribute(:features, value&.to_json)
end