Sha256: cdfab7192169df5172ac7d18a0807c7f9752df52fd28177d67b36c3ad0abf0d0

Contents?: true

Size: 387 Bytes

Versions: 81

Compression:

Stored size: 387 Bytes

Contents

module Alula
  class UserTransferReject < Alula::RpcResource

    class Response < Alula::RpcResponse
    end

    def self.call(transfer_id:, description:)
      request( 
        http_method: :post,
        path: '/rpc/v1/users/transfer/reject',
        payload: {
          id: transfer_id,
          reason: description,
        },
        handler: Response
      )
    end
  end
end

Version data entries

81 entries across 81 versions & 1 rubygems

Version Path
alula-ruby-0.50.1 lib/alula/procedures/user_transfer_reject.rb