Sha256: 923e9b95d02244b76738a8ded231d0b091780345ed7d6bca2272b7ec8ad489a1

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

module Payture::Cheques
  class Client
    attr_reader :config

    def initialize(**options)
      @config = Config.new(**options)
    end

    def create(**args)
      Methods::Create.new(config).call(**args)
    end

    def status(**args)
      Methods::Status.new(config).call(**args)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
payture-cheques-0.1.5 lib/payture/cheques/client.rb
payture-cheques-0.1.4 lib/payture/cheques/client.rb
payture-cheques-0.1.3 lib/payture/cheques/client.rb
payture-cheques-0.1.2 lib/payture/cheques/client.rb
payture-cheques-0.1.0 lib/payture/cheques/client.rb