Sha256: ee391768a25b7b7c605d719f353d248f1b991352b30ae3d6f0e6982d8d430e90
Contents?: true
Size: 601 Bytes
Versions: 4
Compression:
Stored size: 601 Bytes
Contents
module BloomRemitClient module Requests module Remittances class Create < Base PATH = "/api/v1//partners/:api_token/senders/:sender_id/remittances.json" attribute :remittance, Hash attribute :sender_id, String attribute :recipient_id, String private def path PATH.gsub(":api_token", self.api_token). gsub(":sender_id", self.sender_id) end def type POST end def body_params attributes.slice(*%i[recipient_id remittance]) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems