lib/tumblr_client.rb in tumblr_client-0.6.11 vs lib/tumblr_client.rb in tumblr_client-0.7.0
- old
+ new
@@ -1,11 +1,16 @@
-require "tumblr/client"
-require "tumblr/config"
+require 'tumblr/client'
+require 'tumblr/config'
module Tumblr
+
+ autoload :VERSION, File.join(File.dirname(__FILE__), 'tumblr/version')
+
extend Config
+
class << self
def new(options={})
Tumblr::Client.new(options)
end
end
+
end