Class: Kublog::Network::Facebook::WallPost
- Inherits:
-
Object
- Object
- Kublog::Network::Facebook::WallPost
- Defined in:
- lib/kublog/network/facebook.rb
Instance Method Summary collapse
-
#initialize(url, message) ⇒ WallPost
constructor
A new instance of WallPost.
-
#perform ⇒ Object
Posts a link to the post with the title of the content of the notification as a default message.
Constructor Details
#initialize(url, message) ⇒ WallPost
Returns a new instance of WallPost.
39 40 41 42 |
# File 'lib/kublog/network/facebook.rb', line 39 def initialize(url, ) @url = url = end |
Instance Method Details
#perform ⇒ Object
Posts a link to the post with the title of the content of the notification as a default message
46 47 48 |
# File 'lib/kublog/network/facebook.rb', line 46 def perform Kublog.facebook_client.link! :link => @url, :message => end |