Class: BloomRemit::Api::V1::TxnsController

Inherits:
BloomRemit::ApplicationController show all
Defined in:
app/controllers/bloom_remit/api/v1/txns_controller.rb

Instance Method Summary collapse

Methods inherited from BloomRemit::ApplicationController

#record_not_found

Instance Method Details

#post_updateObject



8
9
10
11
# File 'app/controllers/bloom_remit/api/v1/txns_controller.rb', line 8

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

#updateObject



13
14
15
# File 'app/controllers/bloom_remit/api/v1/txns_controller.rb', line 13

def update
  respond ::BloomRemit::Txns::Operations::Update
end