Sha256: 12d9021af589b4e30d6afd33c861131a2707c185471be602433de2fe75367a47

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

require_dependency "auth_net_receiver/application_controller"

module AuthNetReceiver
  class RawTransactionsController < ApplicationController

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auth_net_receiver-1.0.beta1 app/controllers/auth_net_receiver/raw_transactions_controller.rb
auth_net_receiver-0.0.1 app/controllers/auth_net_receiver/raw_transactions_controller.rb