Class: Webhookr::Stripe::Generators::ExampleHooksGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Webhookr::Stripe::Generators::ExampleHooksGenerator
- Defined in:
- lib/generators/webhookr/stripe/example_hooks_generator.rb
Constant Summary collapse
- EXAMPLE_HOOK_FILE =
'app/models/stripe_hooks.rb'
Instance Method Summary collapse
Instance Method Details
#example_hooks ⇒ Object
10 11 12 |
# File 'lib/generators/webhookr/stripe/example_hooks_generator.rb', line 10 def example_hooks copy_file( "stripe_hooks.rb", EXAMPLE_HOOK_FILE) end |