lib/muddyit/base.rb in muddyit_fu-0.2.6 vs lib/muddyit/base.rb in muddyit_fu-0.2.8

- old
+ new

@@ -65,11 +65,11 @@ @access_token_secret = config[:access_token_secret] @rest_endpoint = config.has_key?(:rest_endpoint) ? config[:rest_endpoint] : REST_ENDPOINT raise 'config file must contain consumer_key and consumer_secret' unless @consumer_key and @consumer_secret end - @consumer = OAuth::Consumer.new(@consumer_key, @consumer_secret, {:site=>@rest_endpoint}) - @accesstoken = OAuth::AccessToken.new(@consumer, @access_token, @access_token_secret) + @consumer = ::OAuth::Consumer.new(@consumer_key, @consumer_secret, {:site=>@rest_endpoint}) + @accesstoken = ::OAuth::AccessToken.new(@consumer, @access_token, @access_token_secret) end # sends a request to the muddyit REST api # \ No newline at end of file