Sha256: 448953de39b8561cd6aa276a06e212787900566cc99f68faa81e8b5ba97dd05e

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

require "json"
require "i18n"

require "conekta/version"

require "conekta/operations/find"
require "conekta/operations/where"
require "conekta/operations/create"
require "conekta/operations/delete"
require "conekta/operations/update"
require "conekta/operations/custom_action"
require "conekta/operations/create_member"

require "conekta/conekta_object"
require "conekta/resource"
require "conekta/requestor"
require "conekta/util"
require "conekta/error"
require "conekta/payment_method"
require "conekta/charge"
require "conekta/customer"
require "conekta/card"
require "conekta/subscription"
require "conekta/plan"
require "conekta/token"
require "conekta/event"
require "conekta/payee"
require "conekta/payout"
require "conekta/payout_method"
require "conekta/method"
require "conekta/webhook_log"

module Conekta
  I18n.load_path += Dir[File.join(File.expand_path('../..', __FILE__), 'locales', '*.{rb,yml}').to_s]

  @api_base = 'https://api.conekta.io'
  @api_version = '0.3.0'
  @locale = 'es'

  def self.api_base
    @api_base
  end
  def self.api_base=(api_base)
    @api_base = api_base
  end
  def self.api_version
    @api_version
  end
  def self.api_version=(api_version)
    @api_version = api_version
  end
  def self.api_key
    @api_key
  end
  def self.api_key=(api_key)
    @api_key = api_key
  end
  def self.locale
    @locale
  end
  def self.locale=(locale)
    @locale = locale
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conekta-0.4.8 lib/conekta.rb
conekta-0.4.7 lib/conekta.rb