Sha256: 2ffcab56e328a8fc1c420d7f9339a5e9afb4a17e8649b583fd4a551d6514e648
Contents?: true
Size: 599 Bytes
Versions: 3
Compression:
Stored size: 599 Bytes
Contents
module Connfu module Provisioning # # This class models a connFu Twitter channel # class Twitter < Channel # Twitter accounts associated to that Twitter channel attr_accessor :accounts # string that filters the tweets to retrieve only the desired hashtag attr_accessor :filter def initialize(params) super(params) self.type = "twitter" end # Creates a hash with the Twitter instance info def to_hash {"uid" => uid, "type" => type, "accounts" => accounts, "filter" => filter} end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
connfu-client-0.1.2 | lib/connfu/provisioning/twitter.rb |
connfu-client-0.1.1 | lib/connfu/provisioning/twitter.rb |
connfu-client-0.1 | lib/connfu/provisioning/twitter.rb |