Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 08d88c3fb4929ef5513599a23859692e7afea594 1 parent 7e28c6c
@rafaelfranca rafaelfranca authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moip.rb
  2. 0  lib/{ → moip}/direct_payment.rb
View
4 lib/moip.rb
@@ -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
View
0  lib/direct_payment.rb → lib/moip/direct_payment.rb
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.