Sha256: c8f378f15e2b164550def87299700f34af9f4b38d228c9a76a88a6f3a9532691
Contents?: true
Size: 638 Bytes
Versions: 4
Compression:
Stored size: 638 Bytes
Contents
require 'tumblr/blog' require 'tumblr/user' require 'tumblr/request' require 'tumblr/connection' require 'tumblr/post' require 'tumblr/tagged' require 'tumblr/helpers' module Tumblr class Client include Tumblr::Request include Tumblr::Client::Blog include Tumblr::Client::User include Tumblr::Client::Post include Tumblr::Client::Tagged include Tumblr::Client::Helper include Tumblr::Connection def initialize(attrs= {}) attrs = Tumblr.options.merge(attrs) Config::VALID_OPTIONS_KEYS.each do |key| instance_variable_set("@#{key}".to_sym, attrs[key]) end end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
tumblr_client-0.6.9 | lib/tumblr/client.rb |
tumblr_client-0.6.8 | lib/tumblr/client.rb |
tumblr_client_faraday_0_8-0.6.7.1 | lib/tumblr/client.rb |
tumblr_client-0.6.7 | lib/tumblr/client.rb |