Module: Payify

Defined in:
lib/payify.rb,
lib/payify/engine.rb,
lib/payify/version.rb,
app/models/payify/payment.rb,
app/jobs/payify/application_job.rb,
app/models/payify/application_record.rb,
app/helpers/payify/application_helper.rb,
app/mailers/payify/application_mailer.rb,
app/serializers/payify/payment_serializer.rb,
app/controllers/payify/payments_controller.rb,
app/models/concerns/payify/has_payment_concern.rb,
app/models/concerns/payify/stripe_payment_concern.rb,
app/controllers/concerns/payify/payments_controller_concern.rb

Defined Under Namespace

Modules: ApplicationHelper, HasPaymentConcern, PaymentsControllerConcern, StripePaymentConcern Classes: ApplicationJob, ApplicationMailer, ApplicationRecord, Engine, Error, Payment, PaymentSerializer, PaymentsController

Constant Summary collapse

VERSION =
"1.0.0"
@@currency =
"usd"
@@default_tax_rates_id =
nil
@@stripe_api_key =
ENV["STRIPE_API_KEY"]
@@stripe_publishable_key =
ENV["STRIPE_PUBLISHABLE_KEY"]

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Payify)

    the object that the method was called on



22
23
24
# File 'lib/payify.rb', line 22

def self.setup
  yield self
end