Skip to content

Commit

Permalink
Adicionado o enconding dos arquivos para rodar em Ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca authored and guinascimento committed Nov 11, 2010
1 parent 9102932 commit 2b97956
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/direct_payment.rb
@@ -1,3 +1,4 @@
# encoding: utf-8
module MoIP

class DirectPayment
Expand Down Expand Up @@ -127,4 +128,4 @@ def body(attributes = {})

end

end
end
3 changes: 2 additions & 1 deletion lib/moip.rb
@@ -1,3 +1,4 @@
# encoding: utf-8
require "rubygems"
require 'httparty'
require "nokogiri"
Expand Down Expand Up @@ -58,4 +59,4 @@ def notification(params)

end

end
end
3 changes: 2 additions & 1 deletion spec/moip_spec.rb
@@ -1,3 +1,4 @@
# encoding: utf-8
require "moip"

describe "Make payments with the MoIP API" do
Expand Down Expand Up @@ -140,4 +141,4 @@ def token
"T2X0Q1N021E0B2S9U1P0V3Y0G1F570Y2P4M0P000M0Z0F0J0G0U4N6C7W5T9"
end

end
end

0 comments on commit 2b97956

Please sign in to comment.