Sha256: eeeaf4110b47d4488e7dea204832080d744f33945ecbec2ed92b205c27e78c01

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 Bytes

Contents

module Feedlr
  module Gateway
    # Profile API
    #
    # @see http://developer.feedly.com/v3/profile/
    module Profile
      # Get the profile of the user
      #
      # @see http://developer.feedly.com/v3/profile/#get-the-profile-of-the-user
      # @return [Feedlr::Base]
      def user_profile
        build_object(:get , '/profile')
      end

      # Update the profile of the user
      #
      # @see http://developer.feedly.com/v3/profile/#update-the-profile-of-the-user
      # @param profile [Hash]
      # @return [Feedlr::Base]
      def update_profile(profile)
        build_object(:post , '/profile' , profile)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
feedlr-0.1.0 lib/feedlr/gateway/profile.rb