Class: Postwill::Providers::Facebook

Inherits:
Base
  • Object
show all
Defined in:
lib/postwill/providers/facebook.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#call

Constructor Details

#initialize(options) ⇒ Facebook

Returns a new instance of Facebook.



4
5
6
# File 'lib/postwill/providers/facebook.rb', line 4

def initialize(options)
  @client ||= ::Koala::Facebook::API.new(options[:access_token])
end