lib/tumblr/writer.rb in tumblr-rb-0.1.1 vs lib/tumblr/writer.rb in tumblr-rb-1.0.0

- old
+ new

@@ -1,7 +1,9 @@ class Tumblr class Writer < Weary::Base + headers({"User-Agent" => Tumblr::USER_AGENT}) + def initialize(*credentials) @defaults = {:generator => Tumblr::GENERATOR} @defaults.merge!({:email => credentials[0], :password => credentials[1]}) unless credentials.blank? end \ No newline at end of file