Sha256: f59f2228b8a8a0bc26235c5c972b31cc16677b9e3f87b434df09483118bff7a5
Contents?: true
Size: 1.55 KB
Versions: 2
Compression:
Stored size: 1.55 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/event" require "conekta/charge" require "conekta/customer" require "conekta/card" require "conekta/log" require "conekta/method" require "conekta/payment_method" require "conekta/payee" require "conekta/payout" require "conekta/payout_method" require "conekta/plan" require "conekta/subscription" require "conekta/token" require "conekta/webhook" require "conekta/webhook_log" require "conekta/refund" require "conekta/line_item" require "conekta/address" 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 = '1.0.0' @locale = 'es' def self.config yield self end 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-1.0.0 | lib/conekta.rb |
conekta-0.5.8 | lib/conekta.rb |