Sha256: 629b00f1ca4c1d6c1952356c8059e2263d4e526f3e94a9ace4d890341910d74d
Contents?: true
Size: 672 Bytes
Versions: 20
Compression:
Stored size: 672 Bytes
Contents
# frozen_string_literal: true # 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
20 entries across 20 versions & 1 rubygems