Sha256: f16176b95acbac3e81b6f4424ed44a597ba080ce01d1fe11afbb48abbf2f4fac
Contents?: true
Size: 430 Bytes
Versions: 5
Compression:
Stored size: 430 Bytes
Contents
module Whatser class Twitter < Whatser::Service @key = 'twitter' class << self def get_friends(opts={}) api_request :get, "/oauth/services/twitter/friends", {:query => opts}, :model => Whatser::User end def status_update(status, params={}) api_request :post, "/oauth/services/twitter/publish", {:body => {'status' => status}.merge(params) } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems