Sha256: 2bde1094907fbb20cb186b57a04b7cb3a29da50e3f9bc40bbcdadae3871fa18b
Contents?: true
Size: 532 Bytes
Versions: 4
Compression:
Stored size: 532 Bytes
Contents
require 'builder' require 'logger' require 'httparty' require 'json' module MyMoip class << self attr_accessor :token, :key, :environment, :logger, :default_referer_url def api_url if environment == "sandbox" "https://desenvolvedor.moip.com.br/sandbox" else "https://www.moip.com.br" end end end end $LOAD_PATH << "./lib/mymoip" files = Dir[File.dirname(__FILE__) + "/mymoip/*.rb"] files.each { |f| require f } MyMoip.environment = "sandbox" MyMoip.logger = Logger.new(STDOUT)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mymoip-0.2.6 | lib/mymoip.rb |
mymoip-0.2.5 | lib/mymoip.rb |
mymoip-0.2.4 | lib/mymoip.rb |
mymoip-0.2.3 | lib/mymoip.rb |