Class: Stall::Payments::GatewayRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/stall/payments/gateway_request.rb

Direct Known Subclasses

ManualPaymentGateway::Request

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cartObject (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_pathObject



10
11
12
# File 'lib/stall/payments/gateway_request.rb', line 10

def payment_form_partial_path
  nil
end