Sha256: 8944e7b3db3a4667ddd7b4e5ccc323bf101ecacde5b8736abe4cbac8213a8ef0
Contents?: true
Size: 1.23 KB
Versions: 77
Compression:
Stored size: 1.23 KB
Contents
module Fog module Compute class Ecloud class PasswordComplexityRule < Fog::Ecloud::Model identity :href attribute :rule_type, :aliases => :RuleType attribute :custom_rules, :aliases => :CustomRules attribute :description, :aliases => :Description def minimum_characters custom_rules[:MinimumCharacters] end def minimum_upper_case_characters custom_rules[:MinimumUpperCaseCharacters] end def minimum_lower_case_characters custom_rules[:MinimumLowerCaseCharacters] end def minimum_numeric_characters custom_rules[:MinimumNumericCharacters] end def minimum_special_characters custom_rules[:MinimumSpecialCharacters] end def maximum_consecutive_characters_from_prior_password custom_rules[:MaximumConsecutiveCharactersFromPriorPassword] end def minimum_lifetime_restriction custom_rules[:MinimumLifetimeRestriction] end def minimum_generations_before_reuse custom_rules[:MinimumGenerationsBeforeReuse] end def id href.scan(/\d+/)[0] end end end end end
Version data entries
77 entries across 77 versions & 12 rubygems