Class: LitleOnline::ProcessingInstructions
- Inherits:
-
Object
- Object
- LitleOnline::ProcessingInstructions
- Includes:
- XML::Mapping
- Defined in:
- lib/XMLFields.rb
Class Method Summary collapse
Class Method Details
.from_hash(hash, name = 'processingInstructions') ⇒ Object
847 848 849 850 851 852 853 854 855 856 857 |
# File 'lib/XMLFields.rb', line 847 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 |