Class: UserProfileAttributeService

Inherits:
Object
  • Object
show all
Defined in:
lib/user_profile_attribute_service.rb

Instance Method Summary collapse

Constructor Details

#initialize(user) ⇒ UserProfileAttributeService

Returns a new instance of UserProfileAttributeService.



4
5
6
# File 'lib/user_profile_attribute_service.rb', line 4

def initialize(user)
  @user = user
end

Instance Method Details

#cache_profile_attributesObject



8
9
10
11
# File 'lib/user_profile_attribute_service.rb', line 8

def cache_profile_attributes
  cache = UserProfileAttributes.create(attribute_serial)
  cache.uuid
end