Sha256: e25786e0e19b10260dab6ec75aa3a70c59c2a48c8d9567d27846feb7bc1854f7

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

require 'tty-prompt'

module Analytics
  module Interactor
    class UserProperty
      # Returns all user properties which uses an enum as the value.
      def self.all_enum_user_properties(user_properties)
        user_properties
        .map { |up| up.dup }
        .reject { |up| up['values'].nil? }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ios_analytics_cli-1.1.0 lib/ios_analytics_cli/interactors/user_property.rb