Sha256: 241ad10c4763b0252c0f36cc8a1c45b290c012b4196dc7c7862e37eef8063ca1

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

module BloomRemit
  module Api
    module V1
      class TxnsController < ApplicationController

        respond_to :json

        def post_update
          op = Txns::Operations::Update.(params)
          render json: op.model
        end

        def update
          respond Txns::Operations::Update
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bloom_remit-0.4.0 app/controllers/bloom_remit/api/v1/txns_controller.rb
bloom_remit-0.3.0 app/controllers/bloom_remit/api/v1/txns_controller.rb
bloom_remit-0.2.1 app/controllers/bloom_remit/api/v1/txns_controller.rb
bloom_remit-0.2.0 app/controllers/bloom_remit/api/v1/txns_controller.rb