Sha256: b11a6bb8c9729ec5e3f2057661149958e3511fd5f2028f061f86f3bb77714b1f

Contents?: true

Size: 317 Bytes

Versions: 4

Compression:

Stored size: 317 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
instapaper-1.0.1 lib/instapaper/api/accounts.rb
instapaper-1.0.0 lib/instapaper/api/accounts.rb
instapaper-1.0.0.pre3 lib/instapaper/api/accounts.rb
instapaper-1.0.0.pre2 lib/instapaper/api/accounts.rb