Class: UserProfileAttributeService
- Inherits:
-
Object
- Object
- UserProfileAttributeService
- Defined in:
- lib/user_profile_attribute_service.rb
Instance Method Summary collapse
- #cache_profile_attributes ⇒ Object
-
#initialize(user) ⇒ UserProfileAttributeService
constructor
A new instance of UserProfileAttributeService.
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_attributes ⇒ Object
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 |