Object
Initializes a new Client object
@param options [Hash] @return [Twitter::Client]
# File lib/twitter/client.rb, line 21 def initialize(options = {}) options.each do |key, value| send(:"#{key}=", value) end yield(self) if block_given? validate_credential_type! end
@return [Hash]
# File lib/twitter/client.rb, line 40 def credentials { :consumer_key => consumer_key, :consumer_secret => consumer_secret, :token => access_token, :token_secret => access_token_secret, } end
@return [Boolean]
# File lib/twitter/client.rb, line 50 def credentials? credentials.values.all? end
Generated with the Darkfish Rdoc Generator 2.