Sha256: 13a805ba55e948b2970049d46b4ec82c1b420232fd356e32c801429ec5ebb56f
Contents?: true
Size: 493 Bytes
Versions: 6
Compression:
Stored size: 493 Bytes
Contents
module Bloomy module Utilities module UserIdUtility # Lazy loads the user_id of the default user # # @return [String] the user_id of the default user def user_id @user_id ||= default_user_id end private # Returns the user_id of the default user # # @return [String] The user_id of the default user def default_user_id response = @conn.get("users/mine").body response["Id"] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems