Sha256: f52e7df2d48c34ee6f01787ae60c0db3ad6c6df143344d0218b1ecf3b8166542

Contents?: true

Size: 547 Bytes

Versions: 5

Compression:

Stored size: 547 Bytes

Contents

CatarsePagarme::Engine.routes.draw do
  resources :pagarme, only: [], path: "payment/pagarme" do

    member do
      get  :review
      get  :slip_data, to: 'slip#slip_data'
      get  :second_slip, to: 'slip#update'
      get  :get_installment, to: 'credit_cards#get_installment_json'
      get  :get_encryption_key, to: 'credit_cards#get_encryption_key_json'
      post :pay_credit_card, to: 'credit_cards#create'
      post :pay_slip, to: 'slip#create'
    end

    collection do
      post :ipn, to: 'notifications#create'
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
catarse_pagarme-2.9.13 config/routes.rb
catarse_pagarme-2.9.12 config/routes.rb
catarse_pagarme-2.9.11 config/routes.rb
catarse_pagarme-2.9.10 config/routes.rb
catarse_pagarme-2.9.9 config/routes.rb