Module: Ecko::Plugins::Stripe

Defined in:
lib/ecko/plugins/stripe.rb,
lib/ecko/plugins/stripe/engine.rb,
lib/ecko/plugins/stripe/version.rb,
lib/ecko/plugins/stripe/checkout.rb,
lib/ecko/plugins/stripe/authenticator.rb,
lib/ecko/plugins/stripe/configurations.rb,
lib/ecko/plugins/stripe/generators/payment_intent_generator.rb

Defined Under Namespace

Classes: Authenticator, Checkout, Configurations, Engine, ExecutionError, InvalidAmountError, InvalidLineItemError, InvalidNameError, InvalidPaymentIntent, InvalidQuantityError, PaymentIntentionGenerator

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.register(schema) ⇒ Object

This is the initializer for tp register the plugin to the ecko plugin registry



34
35
36
# File 'lib/ecko/plugins/stripe.rb', line 34

def register(schema)
  Ecko::Plugins.register(name: 'stripe', schema: schema, engine: Ecko::Plugins::Stripe::Engine)
end