Class: SiriProxy::Plugin::Facebook
- Inherits:
-
SiriProxy::Plugin
- Object
- SiriProxy::Plugin
- SiriProxy::Plugin::Facebook
- Defined in:
- lib/siriproxy-facebookstatus.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(config) ⇒ Facebook
constructor
A new instance of Facebook.
Constructor Details
#initialize(config) ⇒ Facebook
Returns a new instance of Facebook.
11 12 13 14 |
# File 'lib/siriproxy-facebookstatus.rb', line 11 def initialize(config) self.access_token = config["access_token"] self.username = config["username"] end |
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
8 9 10 |
# File 'lib/siriproxy-facebookstatus.rb', line 8 def access_token @access_token end |
#username ⇒ Object
Returns the value of attribute username.
9 10 11 |
# File 'lib/siriproxy-facebookstatus.rb', line 9 def username @username end |