class TwitterApi
    def self.rornews_tweets
        client.user_timeline('rubyonrailsnews', count: 10, exclude_replies: true, include_rts: false)
    end

    def self.railscontent_tweets
      client.user_timeline('rubyonrrails', count: 10, exclude_replies: true, include_rts: false)
    end

    def self.rorjobs_tweets
      client.user_timeline('rorjobs', count: 10, exclude_replies: true, include_rts: false)
    end

    def self.client
        @client ||= Twitter::REST::Client.new do |config|
            config.consumer_key        = ENV['TWITTER_CONSUMER_KEY']
            config.consumer_secret     = ENV['TWITTER_CONSUMER_SECRET']
        end
    end
end


class TwitterApi
    def self.rornews_tweets
        client.user_timeline('rubyonrailsnews', count: 10, exclude_replies: true, include_rts: false)
    end

    def self.railscontent_tweets
      client.user_timeline('rubyonrrails', count: 10, exclude_replies: true, include_rts: false)
    end

    def self.rorjobs_tweets
      client.user_timeline('rorjobs', count: 20, exclude_replies: true, include_rts: false)
    end

    def self.client
        @client ||= Twitter::REST::Client.new do |config|
            config.consumer_key        = ENV['TWITTER_CONSUMER_KEY']
            config.consumer_secret     = ENV['TWITTER_CONSUMER_SECRET']
        end
    end
end


Increase number of ROR jobs tweets on home page to 20 at a time.
Increase number of ROR jobs tweets on home page to 20 at a time.
