lib/tumblr_wrapper.rb in tumblr_wrapper-0.2.1 vs lib/tumblr_wrapper.rb in tumblr_wrapper-0.3.0
- old
+ new
@@ -1,17 +1,19 @@
require 'json'
+require 'active_support/all'
require 'oauth'
require 'faraday'
require 'faraday_middleware'
require "tumblr_wrapper/version"
require "tumblr_wrapper/validators"
require "tumblr_wrapper/http"
require "tumblr_wrapper/client"
-require "tumblr_wrapper/resource"
-require "tumblr_wrapper/blog_resource"
-require "tumblr_wrapper/blog"
-require "tumblr_wrapper/post"
+require "tumblr_wrapper/resources/resource"
+require "tumblr_wrapper/resources/blog_resource"
+require "tumblr_wrapper/resources/blog"
+require "tumblr_wrapper/resources/post"
+require "tumblr_wrapper/response"
module TumblrWrapper
ENDPOINT = 'http://api.tumblr.com'
OAUTH_ENPOINT = 'http://www.tumblr.com'
API_VERSION = 'v2'