mirror of
https://github.com/samsonjs/instapaper.git
synced 2026-03-25 08:55:49 +00:00
13 lines
317 B
Ruby
13 lines
317 B
Ruby
require 'instapaper/user'
|
|
|
|
module Instapaper
|
|
module API
|
|
# Defines methods related to accounts
|
|
module Accounts
|
|
# Returns the currently logged in user.
|
|
def verify_credentials
|
|
perform_post_with_object('/api/1.1/account/verify_credentials', {}, Instapaper::User)
|
|
end
|
|
end
|
|
end
|
|
end
|