Class: Stall::Payments::GatewayRequest
- Inherits:
-
Object
- Object
- Stall::Payments::GatewayRequest
- Defined in:
- lib/stall/payments/gateway_request.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cart ⇒ Object
readonly
Returns the value of attribute cart.
Instance Method Summary collapse
-
#initialize(cart) ⇒ GatewayRequest
constructor
A new instance of GatewayRequest.
- #payment_form_partial_path ⇒ Object
Constructor Details
#initialize(cart) ⇒ GatewayRequest
Returns a new instance of GatewayRequest.
6 7 8 |
# File 'lib/stall/payments/gateway_request.rb', line 6 def initialize(cart) @cart = cart end |
Instance Attribute Details
#cart ⇒ Object (readonly)
Returns the value of attribute cart.
4 5 6 |
# File 'lib/stall/payments/gateway_request.rb', line 4 def cart @cart end |
Instance Method Details
#payment_form_partial_path ⇒ Object
10 11 12 |
# File 'lib/stall/payments/gateway_request.rb', line 10 def payment_form_partial_path nil end |