lib/integrity/notifier/tumblr_client.rb in matflores-integrity-tumblr-0.1.0 vs lib/integrity/notifier/tumblr_client.rb in matflores-integrity-tumblr-0.1.1
- old
+ new
@@ -1,10 +1,10 @@
require 'httparty'
module Integrity
class Notifier
class TumblrClient
- def post(email, password, title, body)
+ def self.post(email, password, title, body)
HTTParty.post 'http://www.tumblr.com/api/write', :body => { :email => email,
:password => password,
:type => 'regular',
:title => title,
:body => body,