Sha256: e0cd2f2a125cdc7a5a07ed39f013863ca1ab6d7099160a893ff0dbc841d11adc
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
require 'twitter' module T module Requestable private def client return @client if @client @rcfile.path = options['profile'] if options['profile'] @client = Twitter::REST::Client.new do |config| config.consumer_key = @rcfile.active_consumer_key config.consumer_secret = @rcfile.active_consumer_secret config.access_token = @rcfile.active_token config.access_token_secret = @rcfile.active_secret end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
t-2.2.1 | lib/t/requestable.rb |
t-2.2.0 | lib/t/requestable.rb |
t-2.1.0 | lib/t/requestable.rb |
t-2.0.2 | lib/t/requestable.rb |