Sha256: 9c1d2fa233b5608d74ff6b4ba7d47b94743d1ed9c218a1e4bfd76718bef2617a
Contents?: true
Size: 643 Bytes
Versions: 16
Compression:
Stored size: 643 Bytes
Contents
# PaidUp Module module PaidUp def self.configure(configuration = PaidUp::Configuration.new) block_given? && yield(configuration) @@configuration = configuration end def self.configuration @@configuration ||= PaidUp::Configuration.new end # PaidUp Configuration class Configuration attr_accessor( :anonymous_customer_stripe_id, :anonymous_plan_stripe_id, :free_plan_stripe_id, :features ) def initialize self.anonymous_customer_stripe_id = 'TODO' self.anonymous_plan_stripe_id = 'TODO' self.free_plan_stripe_id = 'TODO' self.features = {} end end end
Version data entries
16 entries across 16 versions & 1 rubygems