Module: NetworkExecutive::Components::TweetPlayer

Extended by:
ActiveSupport::Concern
Defined in:
lib/network_executive/components/tweet_player.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#onloadObject



20
21
22
23
24
# File 'lib/network_executive/components/tweet_player.rb', line 20

def onload
  {
    tweets: self.class.tweets[:statuses]
  }
end

#refreshObject



16
17
18
# File 'lib/network_executive/components/tweet_player.rb', line 16

def refresh
  false
end

#urlObject



12
13
14
# File 'lib/network_executive/components/tweet_player.rb', line 12

def url
  NetworkExecutive::Engine.routes.url_helpers.twitter_path
end