Class: SiriProxy::Plugin::Facebook

Inherits:
SiriProxy::Plugin
  • Object
show all
Defined in:
lib/siriproxy-facebookstatus.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokenObject

Returns the value of attribute access_token.



8
9
10
# File 'lib/siriproxy-facebookstatus.rb', line 8

def access_token
  @access_token
end

#usernameObject

Returns the value of attribute username.



9
10
11
# File 'lib/siriproxy-facebookstatus.rb', line 9

def username
  @username
end