class Tumblife::Client

Wrapper for the Tumblr REST API

Public Class Methods

new(options = {}) click to toggle source

Creates a new API

# File lib/tumblife/client.rb, line 20
def initialize(options = {})
  options = Tumblife.options.merge(options)
  Configuration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end