Sha256: 08fae56b3491e6fe6c393c9a7723ef94402d5cfe22221f3b9c5754d8838c0aeb

Contents?: true

Size: 572 Bytes

Versions: 2

Compression:

Stored size: 572 Bytes

Contents

# frozen_string_literal: true

require "faraday"
require "active_support"

require_relative "paymob_ruby/version"

# API resource support classes
require "paymob_ruby/errors"

# API operations
require "paymob_ruby/actions/application_service"
require "paymob_ruby/actions/login"
require "paymob_ruby/actions/payment_token"
require "paymob_ruby/actions/pay_card"
require "paymob_ruby/actions/pay_token"

module PaymobRuby
  BASE_URI = "https://accept.paymobsolutions.com/api"

  class << self
    attr_accessor :api_key
  end

  def self.configure
    yield self
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paymob_ruby-0.1.1 lib/paymob_ruby.rb
paymob_ruby-0.1.0 lib/paymob_ruby.rb