Module: SocialButterfly::Services
- Defined in:
- lib/social_butterfly/services.rb,
lib/social_butterfly/services/twitter_service.rb,
lib/social_butterfly/services/facebook_service.rb,
lib/social_butterfly/services/google_plus_service.rb
Defined Under Namespace
Classes: FacebookService, GooglePlusService, TwitterService
Constant Summary collapse
- VALID_SERVICES =
[ :facebook, :google_plus, :twitter ]
Class Method Summary collapse
Class Method Details
.track(content, options = {}) ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/social_butterfly/services.rb', line 13 def self.track(content, ={}) results = {} results[:facebook] = SocialButterfly::Services::FacebookService.track(content, ) results[:google_plus] = SocialButterfly::Services::GooglePlusService.track(content, ) results[:twitter] = SocialButterfly::Services::TwitterService.track(content, ) results end |