Module: Payfast
- Defined in:
- lib/payfast/client.rb,
lib/payfast/config.rb,
lib/payfast/errors.rb,
lib/payfast/payment.rb,
lib/payfast/version.rb,
lib/payfast/attributes.rb,
lib/payfast/payment_builder.rb,
lib/payfast/payment_methods.rb,
lib/payfast/signature_generator.rb,
lib/generators/payfast/install_generator.rb
Defined Under Namespace
Modules: Generators Classes: Attributes, Client, Config, MissingAttributeError, Payment, PaymentBuilder, PaymentError, PaymentMethods, SignatureGenerator, UnknownValueError
Constant Summary collapse
- VERSION =
'0.0.1'
Class Attribute Summary collapse
-
.cancel_url ⇒ Object
Returns the value of attribute cancel_url.
-
.merchant_id ⇒ Object
Returns the value of attribute merchant_id.
-
.merchant_key ⇒ Object
Returns the value of attribute merchant_key.
-
.notify_url ⇒ Object
Returns the value of attribute notify_url.
-
.passphrase ⇒ Object
Returns the value of attribute passphrase.
-
.payment_method ⇒ Object
Returns the value of attribute payment_method.
-
.payment_url ⇒ Object
Returns the value of attribute payment_url.
-
.return_url ⇒ Object
Returns the value of attribute return_url.
Class Method Summary collapse
Class Attribute Details
.cancel_url ⇒ Object
Returns the value of attribute cancel_url.
5 6 7 |
# File 'lib/payfast/config.rb', line 5 def cancel_url @cancel_url end |
.merchant_id ⇒ Object
Returns the value of attribute merchant_id.
5 6 7 |
# File 'lib/payfast/config.rb', line 5 def merchant_id @merchant_id end |
.merchant_key ⇒ Object
Returns the value of attribute merchant_key.
5 6 7 |
# File 'lib/payfast/config.rb', line 5 def merchant_key @merchant_key end |
.notify_url ⇒ Object
Returns the value of attribute notify_url.
5 6 7 |
# File 'lib/payfast/config.rb', line 5 def notify_url @notify_url end |
.passphrase ⇒ Object
Returns the value of attribute passphrase.
5 6 7 |
# File 'lib/payfast/config.rb', line 5 def passphrase @passphrase end |
.payment_method ⇒ Object
Returns the value of attribute payment_method.
5 6 7 |
# File 'lib/payfast/config.rb', line 5 def payment_method @payment_method end |
.payment_url ⇒ Object
Returns the value of attribute payment_url.
5 6 7 |
# File 'lib/payfast/config.rb', line 5 def payment_url @payment_url end |
.return_url ⇒ Object
Returns the value of attribute return_url.
5 6 7 |
# File 'lib/payfast/config.rb', line 5 def return_url @return_url end |
Class Method Details
.setup(&block) ⇒ Object
7 8 9 |
# File 'lib/payfast/config.rb', line 7 def setup(&block) instance_eval(&block) end |