Module: JsChat::Auth::Twitter
- Defined in:
- lib/jschat/http/jschat.rb
Class Method Summary collapse
Class Method Details
.load ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/jschat/http/jschat.rb', line 21 def self.load require 'twitter_oauth' @loaded = true rescue LoadError puts 'Error: twitter_oauth gem not found' @loaded = false end |
.loaded? ⇒ Boolean
29 30 31 |
# File 'lib/jschat/http/jschat.rb', line 29 def self.loaded? @loaded end |
.template ⇒ Object
17 18 19 |
# File 'lib/jschat/http/jschat.rb', line 17 def self.template :twitter end |