Sha256: 31aa4448f842ae73bde95028ce47b2748564ab64e0a107f2be8ed22cef5a2afa
Contents?: true
Size: 350 Bytes
Versions: 3
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true module PaymentGateways class Adapters::CircleUp attr_reader :client def initialize @client = ::CircleUp::Client.new end def charge_credit_card(params) params => { amount:, details: } response = client.charge_cc(amount, details) Response.new(response.ok?) end end end
Version data entries
3 entries across 3 versions & 2 rubygems