Class: Analytics::Interactor::UserProperty
- Inherits:
-
Object
- Object
- Analytics::Interactor::UserProperty
- Defined in:
- lib/ios_analytics_cli/interactors/user_property.rb
Class Method Summary collapse
-
.all_enum_user_properties(user_properties) ⇒ Object
Returns all user properties which uses an enum as the value.
Class Method Details
.all_enum_user_properties(user_properties) ⇒ Object
Returns all user properties which uses an enum as the value.
7 8 9 10 11 |
# File 'lib/ios_analytics_cli/interactors/user_property.rb', line 7 def self.all_enum_user_properties(user_properties) user_properties .map { |up| up.dup } .reject { |up| up['values'].nil? } end |