Class: Postwill::Providers::Tumblr
- Defined in:
- lib/postwill/providers/tumblr.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(options) ⇒ Tumblr
constructor
A new instance of Tumblr.
Methods inherited from Base
Constructor Details
#initialize(options) ⇒ Tumblr
Returns a new instance of Tumblr.
4 5 6 7 8 9 10 11 |
# File 'lib/postwill/providers/tumblr.rb', line 4 def initialize() @client ||= ::Tumblr::Client.new( consumer_key: credentials[:consumer_key], consumer_secret: credentials[:consumer_secret], oauth_token: [:access_token], oauth_token_secret: [:access_token_secret] ) end |