Sha256: d61170903b6d60ca00427f6c9f164ac67fe627330114e6277275a6d963da43bd

Contents?: true

Size: 626 Bytes

Versions: 1

Compression:

Stored size: 626 Bytes

Contents

module Youku
  module V2
    class Users < Base
      BASE_URI = "#{BASE_URI}/users"

      # Public: Get users by IDs
      #
      # See: http://open.youku.com/docs?id=25
      #
      # user_ids   - The comma separated String of user IDs.
      # user_names - The comma separated String of user names.
      #
      # Returns the instance of Youku::V2::Request.
      def show_batch(user_ids: nil, user_names: nil)
        Youku::V2::Request.new "#{BASE_URI}/show_batch.json", {
          client_id:  client.client_id,
          user_ids:   user_ids,
          user_names: user_names
        }
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
youku_client-0.0.1 lib/youku/v2/users.rb