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, options={})
  results = {}
  results[:facebook]    = SocialButterfly::Services::FacebookService.track(content, options)
  results[:google_plus] = SocialButterfly::Services::GooglePlusService.track(content, options)
  results[:twitter]     = SocialButterfly::Services::TwitterService.track(content, options)
  results
end