module Getnet

Public Class Methods

base_uri() click to toggle source
# File lib/getnet.rb, line 23
def self.base_uri
    environment == :sandbox ?
        "https://api-sandbox.getnet.com.br" :
        "https://api-homologacao.getnet.com.br"
end
configuration() click to toggle source
# File lib/getnet.rb, line 19
def self.configuration 
    @configuration ||= Getnet::Config.new
end
configure() { |configuration| ... } click to toggle source
# File lib/getnet.rb, line 33
def self.configure
    yield configuration
end
uri_path(path) click to toggle source
# File lib/getnet.rb, line 29
def self.uri_path(path)
    base_uri + path
end