Class: Integrity::Notifier::TumblrClient
- Inherits:
-
Object
- Object
- Integrity::Notifier::TumblrClient
- Defined in:
- lib/integrity/notifier/tumblr_client.rb
Class Method Summary collapse
Class Method Details
.post(email, password, title, body) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/integrity/notifier/tumblr_client.rb', line 6 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, :generator => 'integrity-tumblr notifier' } end |