Module: Tumblr::User

Defined in:
lib/draftking/patches/tumblr_client.rb

Instance Method Summary collapse

Instance Method Details

#dashboard(options = {}) ⇒ Object



20
21
22
23
24
# File 'lib/draftking/patches/tumblr_client.rb', line 20

def dashboard(options = {})
  valid_opts = [:limit, :offset, :type, :since_id, :reblog_info, :notes_info, :max_id]
  validate_options(valid_opts, options)
  get('v2/user/dashboard', options)
end

#likes(options = {}) ⇒ Object



26
27
28
29
# File 'lib/draftking/patches/tumblr_client.rb', line 26

def likes(options = {})
  validate_options([:limit, :offset, :before, :after], options)
  get('v2/user/likes', options)
end