Class: LitleOnline::EcheckForToken
- Inherits:
-
Object
- Object
- LitleOnline::EcheckForToken
- Includes:
- XML::Mapping
- Defined in:
- lib/XMLFields.rb
Class Method Summary collapse
Class Method Details
.from_hash(hash, name = 'echeckForToken') ⇒ Object
864 865 866 867 868 869 870 871 872 873 874 875 876 |
# File 'lib/XMLFields.rb', line 864 def self.from_hash(hash, name='echeckForToken') base = hash[name] if(base) this = EcheckForToken.new this.accNum = base['accNum'] this.routingNum = base['routingNum'] SchemaValidation.validate_length(this.accNum, true, 1, 17, name, 'accNum') SchemaValidation.validate_length(this.routingNum, true, 9, 9, name, 'routingNum') this else nil end end |