class Payture::Cheques::Client

Attributes

config[R]

Public Class Methods

new(**options) click to toggle source
# File lib/payture/cheques/client.rb, line 7
def initialize(**options)
  @config = Config.new(**options)
end

Public Instance Methods

create(**args) click to toggle source
# File lib/payture/cheques/client.rb, line 11
def create(**args)
  Methods::Create.new(config).call(**args)
end
status(**args) click to toggle source
# File lib/payture/cheques/client.rb, line 15
def status(**args)
  Methods::Status.new(config).call(**args)
end