Class: CnpOnline::ProcessingInstructions
- Inherits:
-
Object
- Object
- CnpOnline::ProcessingInstructions
- Includes:
- XML::Mapping
- Defined in:
- lib/XMLFields.rb
Class Method Summary collapse
Class Method Details
.from_hash(hash, name = 'processingInstructions') ⇒ Object
926 927 928 929 930 931 932 933 934 935 936 |
# File 'lib/XMLFields.rb', line 926 def self.from_hash(hash, name='processingInstructions') base = hash[name] if(base) this = ProcessingInstructions.new this.bypassVelocityCheck = base['bypassVelocityCheck'] SchemaValidation.validate_boolean(this.bypassVelocityCheck, false, name, 'bypassVelocityCheck') this else nil end end |