Sha256: 95dfedd096b65b22d19c7b8f6e0e3d8a0986712fd53a59b29f11bb30eb3ba00a

Contents?: true

Size: 205 Bytes

Versions: 1

Compression:

Stored size: 205 Bytes

Contents

require 'commands/base_tweet_command'

class TweetCommand < BaseTweetCommand
  def initialize(tweet)
    super()
    @tweet = tweet
  end

  def execute
    persist_tweet(twitter.update(@tweet))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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