Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Usando o autoload ao invés do require explícito

  • Loading branch information...
commit 08d88c3fb4929ef5513599a23859692e7afea594 1 parent 7e28c6c
Rafael Mendonça França rafaelfranca authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moip.rb
  2. 0  lib/{ → moip}/direct_payment.rb
4 lib/moip.rb
View
@@ -4,9 +4,9 @@
require 'httparty'
require "nokogiri"
-require "direct_payment"
-
module MoIP
+ autoload :DirectPayment, 'moip/direct_payment'
+
include HTTParty
# URI para acessar o serviço
0  lib/direct_payment.rb → lib/moip/direct_payment.rb
View
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.