Class: Payola::TransactionsController

Inherits:
ApplicationController show all
Includes:
AffiliateBehavior, AsyncBehavior, StatusBehavior
Defined in:
app/controllers/payola/transactions_controller.rb

Instance Method Summary collapse

Methods included from AsyncBehavior

#create_object, #object_status, #show_object

Methods included from StatusBehavior

#render_payola_status

Methods included from AffiliateBehavior

#find_affiliate

Instance Method Details

#createObject



17
18
19
# File 'app/controllers/payola/transactions_controller.rb', line 17

def create
  create_object(Sale, CreateSale, ProcessSale, :product, @product)
end

#showObject



9
10
11
# File 'app/controllers/payola/transactions_controller.rb', line 9

def show
  show_object(Sale)
end

#statusObject



13
14
15
# File 'app/controllers/payola/transactions_controller.rb', line 13

def status
  object_status(Sale)
end