Sha256: ab17fa13174c8cb6c2928a9b69773f09ac007513502106f6b2d315c3f3fdb614
Contents?: true
Size: 480 Bytes
Versions: 4
Compression:
Stored size: 480 Bytes
Contents
module BloomRemitClient class CreatePaymentRequest < BaseRequest PATH = "/api/v2/payments.json" attribute :payment, Hash attribute :sender_id, String def call HTTParty.post(self.endpoint, body: params) end private def default_path PATH end def params { api_token: token, api_secret: secret, agent_id: agent_id, sender_id: sender_id, payment: payment, } end end end
Version data entries
4 entries across 4 versions & 1 rubygems