app/models/stripe_local/customer.rb in stripe_local-0.2.1 vs app/models/stripe_local/customer.rb in stripe_local-0.2.2
- old
+ new
@@ -53,13 +53,9 @@
def create_subscription object
StripeLocal::Subscription.create( object.to_hash ) unless object.nil?
end
end
- def metadata= so
- MultiJson.dump so.to_hash
- end
-
def metadata
MultiJson.load read_attribute( :metadata ), symbolize_keys: true
end
#=!=>>>