Class: LitleOnline::AdvancedFraudChecks
- Inherits:
-
Object
- Object
- LitleOnline::AdvancedFraudChecks
- Includes:
- XML::Mapping
- Defined in:
- lib/XMLFields.rb
Class Method Summary collapse
Class Method Details
.from_hash(hash, name = "advancedFraudChecks") ⇒ Object
1305 1306 1307 1308 1309 1310 1311 1312 1313 |
# File 'lib/XMLFields.rb', line 1305 def self.from_hash(hash, name="advancedFraudChecks") base = hash[name] if(base) this = AdvancedFraudChecks.new this.threatMetrixSessionId = base['threatMetrixSessionId'] # /\A([A-Z,a-z,0-9, ,\*,,,\-,',#,&,.]){4,25}\Z/ #SchemaValidation.validate_regex(this.threatMetrixSessionId, true, '[-a-zA-Z0-9_]{1,128}', name, 'threatMetrixSessionId') this end end |