class Ecko::Plugins::Sponsor::Engine

Public Class Methods

configure(schema) click to toggle source

THis is the main engine configurer that the registry uses. THe schema is passed here and configured accordingly.

# File lib/ecko/plugins/sponsor/engine.rb, line 17
def configure(schema)
  Ecko::Plugins::Sponsor::Configurations.instance.setup(schema)
end
gateways() click to toggle source

The gateways to be able to sponsor.

# File lib/ecko/plugins/sponsor/engine.rb, line 22
def gateways
  Ecko::Plugins::Sponsor::Configurations.instance.gateways
end
process(package_id, account) click to toggle source

Processes the donation here.

# File lib/ecko/plugins/sponsor/engine.rb, line 27
def process(package_id, account)
  Ecko::Plugins::Sponsor::Process.run(package_id, account)
end