Class: AuthNetReceiver::RawTransactionsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/auth_net_receiver/raw_transactions_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



9
10
11
12
13
14
# File 'app/controllers/auth_net_receiver/raw_transactions_controller.rb', line 9

def create
  @raw_transaction = RawTransaction.create({
    :data => params.to_json
  })
  render :nothing => true, :status => 200
end