Sha256: c04dfbfa6714cf85692f5a7f5aed6313e947404c28dce05ef4985356e2603e78
Contents?: true
Size: 657 Bytes
Versions: 8
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true require "ac" require_relative "mp_api/client" require_relative "mp_api/payment" require_relative "mp_api/payment_error" require_relative "mp_api/token" require_relative "mp_api/payment_method" require_relative "mp_api/version" module MpApi class Error < StandardError; end class RequestError < StandardError def initialize(message = "Request error") super(message) end end class Configuration attr_accessor :access_token, :public_key end class << self attr_accessor :configuration end def self.configure self.configuration ||= Configuration.new yield configuration end end
Version data entries
8 entries across 8 versions & 1 rubygems