Sha256: dae2e99a1e569e39f0df15858b1522bf0d0291971a06dc51a386db9e1866a7b0

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 Bytes

Contents

require 'commands/base_tweet_command'
class ImportTweetCommand < BaseTweetCommand
  def initialize(tweet_id)
    super()
    @tweet_id = tweet_id
  end

  def execute
    persist_tweet(twitter.status(@tweet_id))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ignoramos-1.1.0 lib/commands/import_tweet_command.rb