Class: CnpOnline::HealthcareIIAS
- Inherits:
-
Object
- Object
- CnpOnline::HealthcareIIAS
- Includes:
- XML::Mapping
- Defined in:
- lib/XMLFields.rb
Class Method Summary collapse
Class Method Details
.from_hash(hash, name = 'healthcareIIAS') ⇒ Object
449 450 451 452 453 454 455 456 457 458 459 460 |
# File 'lib/XMLFields.rb', line 449 def self.from_hash(hash, name='healthcareIIAS') base = hash[name] if(base) this = HealthcareIIAS.new this.healthcareAmounts = HealthcareAmounts.from_hash(base) this.iiasFlag = base['IIASFlag'] SchemaValidation.validate_enum(this.iiasFlag, true, ['Y'], name, 'IIASFlag') this else nil end end |