lib/flattr/client.rb in flattr-0.2.1 vs lib/flattr/client.rb in flattr-0.2.2
- old
+ new
@@ -45,7 +45,12 @@
# @return [Flattr::User]
def current_user
@current_user ||= Flattr::User.new(self.verify_credentials)
end
+ def base64_encode str
+ [str].pack("m9999").chomp
+ end
+
+
end
end