Class: DivISOr
- Inherits:
-
Object
- Object
- DivISOr
- Defined in:
- lib/divISOr/divISOr.rb
Class Method Summary collapse
- .iso10383(*args) ⇒ Object
- .iso3166(*args) ⇒ Object
- .iso4217(*args) ⇒ Object
- .list_iso10383 ⇒ Object
- .list_iso3166 ⇒ Object
- .list_iso4217 ⇒ Object
- .validate_iso10383(*args) ⇒ Object
- .validate_iso3166(*args) ⇒ Object
- .validate_iso4217(*args) ⇒ Object
Class Method Details
.iso10383(*args) ⇒ Object
22 23 24 |
# File 'lib/divISOr/divISOr.rb', line 22 def self.iso10383(*args) self.all(ISO10383, args).first end |
.iso3166(*args) ⇒ Object
18 19 20 |
# File 'lib/divISOr/divISOr.rb', line 18 def self.iso3166(*args) self.all(ISO3166, args).first end |
.iso4217(*args) ⇒ Object
14 15 16 |
# File 'lib/divISOr/divISOr.rb', line 14 def self.iso4217(*args) self.all(ISO4217, args) end |
.list_iso10383 ⇒ Object
34 35 36 |
# File 'lib/divISOr/divISOr.rb', line 34 def self.list_iso10383 self.all(ISO10383) end |
.list_iso3166 ⇒ Object
30 31 32 |
# File 'lib/divISOr/divISOr.rb', line 30 def self.list_iso3166 self.all(ISO3166) end |
.list_iso4217 ⇒ Object
26 27 28 |
# File 'lib/divISOr/divISOr.rb', line 26 def self.list_iso4217 self.all(ISO4217) end |
.validate_iso10383(*args) ⇒ Object
10 11 12 |
# File 'lib/divISOr/divISOr.rb', line 10 def self.validate_iso10383(*args) ISO10383::Codes.new.validate(*args) end |