flow-reference 0.2.87 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flow-reference.rb +77 -6
- data/lib/generated/continents.rb +63 -0
- data/lib/generated/countries.rb +3198 -0
- data/lib/generated/currencies.rb +278 -552
- data/lib/generated/payment_methods.rb +62 -0
- data/lib/version.rb +5 -0
- metadata +6 -2
data/lib/generated/currencies.rb
CHANGED
@@ -1,832 +1,558 @@
|
|
1
|
-
# Generated by Flow code builder
|
1
|
+
# Generated by Flow.io (2017) code builder
|
2
2
|
|
3
3
|
module Flow
|
4
4
|
module Reference
|
5
5
|
class Currencies
|
6
6
|
class Data
|
7
|
+
def Data.new_c(hash)
|
8
|
+
::Io::Flow::Reference::V0::Models::Currency.new(hash)
|
9
|
+
end
|
10
|
+
|
7
11
|
def Data.All
|
8
|
-
|
12
|
+
new_c({"name":"Albanian Lek","iso_4217_3":"ALL","number_decimals":2,"default_locale":"sq-AL"})
|
9
13
|
end
|
10
|
-
|
14
|
+
|
11
15
|
def Data.Dzd
|
12
|
-
|
16
|
+
new_c({"name":"Algerian Dinar","iso_4217_3":"DZD","number_decimals":2,"default_locale":"ar-DZ"})
|
13
17
|
end
|
14
|
-
|
18
|
+
|
15
19
|
def Data.Ang
|
16
|
-
|
20
|
+
new_c({"name":"Antillian Guilder","iso_4217_3":"ANG","number_decimals":2,"default_locale":"nl-CW"})
|
17
21
|
end
|
18
|
-
|
22
|
+
|
19
23
|
def Data.Ars
|
20
|
-
|
24
|
+
new_c({"name":"Argentine Peso","iso_4217_3":"ARS","number_decimals":2,"default_locale":"es-AR"})
|
21
25
|
end
|
22
|
-
|
26
|
+
|
23
27
|
def Data.Amd
|
24
|
-
|
28
|
+
new_c({"name":"Armenian Dram","iso_4217_3":"AMD","number_decimals":2,"default_locale":"hy-AM"})
|
25
29
|
end
|
26
|
-
|
30
|
+
|
27
31
|
def Data.Awg
|
28
|
-
|
32
|
+
new_c({"name":"Aruban Guilder","iso_4217_3":"AWG","number_decimals":2,"default_locale":"nl-AW"})
|
29
33
|
end
|
30
|
-
|
34
|
+
|
31
35
|
def Data.Aud
|
32
|
-
|
36
|
+
new_c({"name":"Australian Dollar","iso_4217_3":"AUD","number_decimals":2,"symbols":{"primary":"A$","narrow":"$"},"default_locale":"en-AU"})
|
33
37
|
end
|
34
|
-
|
38
|
+
|
35
39
|
def Data.Azn
|
36
|
-
|
40
|
+
new_c({"name":"Azerbaijani manat","iso_4217_3":"AZN","number_decimals":2,"default_locale":"az"})
|
37
41
|
end
|
38
|
-
|
42
|
+
|
39
43
|
def Data.Bsd
|
40
|
-
|
44
|
+
new_c({"name":"Bahamian Dollar","iso_4217_3":"BSD","number_decimals":2,"default_locale":"en-BS"})
|
41
45
|
end
|
42
|
-
|
46
|
+
|
43
47
|
def Data.Bhd
|
44
|
-
|
48
|
+
new_c({"name":"Bahraini Dinar","iso_4217_3":"BHD","number_decimals":3,"default_locale":"ar-BH"})
|
45
49
|
end
|
46
|
-
|
50
|
+
|
47
51
|
def Data.Bdt
|
48
|
-
|
52
|
+
new_c({"name":"Bangladesh Taka","iso_4217_3":"BDT","number_decimals":2})
|
49
53
|
end
|
50
|
-
|
54
|
+
|
51
55
|
def Data.Bbd
|
52
|
-
|
56
|
+
new_c({"name":"Barbados Dollar","iso_4217_3":"BBD","number_decimals":2,"default_locale":"en-BB"})
|
53
57
|
end
|
54
|
-
|
58
|
+
|
55
59
|
def Data.Bzd
|
56
|
-
|
60
|
+
new_c({"name":"Belize Dollar","iso_4217_3":"BZD","number_decimals":2,"default_locale":"en-BZ"})
|
57
61
|
end
|
58
|
-
|
62
|
+
|
59
63
|
def Data.Bmd
|
60
|
-
|
64
|
+
new_c({"name":"Bermudian Dollar","iso_4217_3":"BMD","number_decimals":2})
|
61
65
|
end
|
62
|
-
|
66
|
+
|
63
67
|
def Data.Bob
|
64
|
-
|
68
|
+
new_c({"name":"Bolivia Boliviano","iso_4217_3":"BOB","number_decimals":2,"default_locale":"qu-BO"})
|
65
69
|
end
|
66
|
-
|
70
|
+
|
67
71
|
def Data.Bam
|
68
|
-
|
72
|
+
new_c({"name":"Bosnia and Herzegovina Convertible Marks","iso_4217_3":"BAM","number_decimals":2,"default_locale":"hr-BA"})
|
69
73
|
end
|
70
|
-
|
74
|
+
|
71
75
|
def Data.Bwp
|
72
|
-
|
76
|
+
new_c({"name":"Botswana Pula","iso_4217_3":"BWP","number_decimals":2,"default_locale":"en-BW"})
|
73
77
|
end
|
74
|
-
|
78
|
+
|
75
79
|
def Data.Brl
|
76
|
-
|
80
|
+
new_c({"name":"Brazilian Real","iso_4217_3":"BRL","number_decimals":2,"symbols":{"primary":"R$"},"default_locale":"pt-BR"})
|
77
81
|
end
|
78
|
-
|
82
|
+
|
79
83
|
def Data.Bnd
|
80
|
-
|
84
|
+
new_c({"name":"Brunei Dollar","iso_4217_3":"BND","number_decimals":2,"default_locale":"ms-BN"})
|
81
85
|
end
|
82
|
-
|
86
|
+
|
83
87
|
def Data.Khr
|
84
|
-
|
88
|
+
new_c({"name":"Cambodia Riel","iso_4217_3":"KHR","number_decimals":2})
|
85
89
|
end
|
86
|
-
|
90
|
+
|
87
91
|
def Data.Cad
|
88
|
-
|
92
|
+
new_c({"name":"Canadian Dollar","iso_4217_3":"CAD","number_decimals":2,"symbols":{"primary":"CA$","narrow":"$"},"default_locale":"en-CA"})
|
89
93
|
end
|
90
|
-
|
94
|
+
|
91
95
|
def Data.Cve
|
92
|
-
|
96
|
+
new_c({"name":"Cape Verdi Escudo","iso_4217_3":"CVE","number_decimals":0,"default_locale":"pt-CV"})
|
93
97
|
end
|
94
|
-
|
98
|
+
|
95
99
|
def Data.Kyd
|
96
|
-
|
100
|
+
new_c({"name":"Cayman Islands Dollar","iso_4217_3":"KYD","number_decimals":2})
|
97
101
|
end
|
98
|
-
|
102
|
+
|
99
103
|
def Data.Xof
|
100
|
-
|
104
|
+
new_c({"name":"CFA Franc BCEAO","iso_4217_3":"XOF","number_decimals":0,"symbols":{"primary":"CFA"},"default_locale":"ee-TG"})
|
101
105
|
end
|
102
|
-
|
106
|
+
|
103
107
|
def Data.Xaf
|
104
|
-
|
108
|
+
new_c({"name":"CFA Franc BEAC","iso_4217_3":"XAF","number_decimals":0,"symbols":{"primary":"FCFA"},"default_locale":"ar-TD"})
|
105
109
|
end
|
106
|
-
|
110
|
+
|
107
111
|
def Data.Xpf
|
108
|
-
|
112
|
+
new_c({"name":"CFP Franc","iso_4217_3":"XPF","number_decimals":0,"symbols":{"primary":"CFPF"},"default_locale":"fr-PF"})
|
109
113
|
end
|
110
|
-
|
114
|
+
|
111
115
|
def Data.Clp
|
112
|
-
|
116
|
+
new_c({"name":"Chilean Peso","iso_4217_3":"CLP","number_decimals":2,"default_locale":"es-CL"})
|
113
117
|
end
|
114
|
-
|
118
|
+
|
115
119
|
def Data.Cop
|
116
|
-
|
120
|
+
new_c({"name":"Colombian Peso","iso_4217_3":"COP","number_decimals":2,"default_locale":"es-CO"})
|
117
121
|
end
|
118
|
-
|
122
|
+
|
119
123
|
def Data.Kmf
|
120
|
-
|
124
|
+
new_c({"name":"Comoro Franc","iso_4217_3":"KMF","number_decimals":0,"default_locale":"ar-KM"})
|
121
125
|
end
|
122
|
-
|
126
|
+
|
123
127
|
def Data.Crc
|
124
|
-
|
128
|
+
new_c({"name":"Costa Rican Colon","iso_4217_3":"CRC","number_decimals":2,"default_locale":"es-CR"})
|
125
129
|
end
|
126
|
-
|
130
|
+
|
127
131
|
def Data.Hrk
|
128
|
-
|
132
|
+
new_c({"name":"Croatia Kuna","iso_4217_3":"HRK","number_decimals":2,"default_locale":"hr"})
|
129
133
|
end
|
130
|
-
|
134
|
+
|
131
135
|
def Data.Czk
|
132
|
-
|
136
|
+
new_c({"name":"Czech Koruna","iso_4217_3":"CZK","number_decimals":2})
|
133
137
|
end
|
134
|
-
|
138
|
+
|
135
139
|
def Data.Dkk
|
136
|
-
|
140
|
+
new_c({"name":"Danish Krone","iso_4217_3":"DKK","number_decimals":2,"default_locale":"da-DK"})
|
137
141
|
end
|
138
|
-
|
142
|
+
|
139
143
|
def Data.Djf
|
140
|
-
|
144
|
+
new_c({"name":"Djibouti Franc","iso_4217_3":"DJF","number_decimals":0,"default_locale":"ar-DJ"})
|
141
145
|
end
|
142
|
-
|
146
|
+
|
143
147
|
def Data.Dop
|
144
|
-
|
148
|
+
new_c({"name":"Dominican Republic Peso","iso_4217_3":"DOP","number_decimals":2,"default_locale":"es-DO"})
|
145
149
|
end
|
146
|
-
|
150
|
+
|
147
151
|
def Data.Xcd
|
148
|
-
|
152
|
+
new_c({"name":"East Carribean Dollar","iso_4217_3":"XCD","number_decimals":2,"symbols":{"primary":"EC$","narrow":"$"},"default_locale":"en-AI"})
|
149
153
|
end
|
150
|
-
|
154
|
+
|
151
155
|
def Data.Egp
|
152
|
-
|
156
|
+
new_c({"name":"Egyptian Pound","iso_4217_3":"EGP","number_decimals":2,"default_locale":"ar-EG"})
|
153
157
|
end
|
154
|
-
|
158
|
+
|
155
159
|
def Data.Svc
|
156
|
-
|
160
|
+
new_c({"name":"El Salvador Colón","iso_4217_3":"SVC","number_decimals":2})
|
157
161
|
end
|
158
|
-
|
162
|
+
|
159
163
|
def Data.Eek
|
160
|
-
|
164
|
+
new_c({"name":"Estonian Krone","iso_4217_3":"EEK","number_decimals":2})
|
161
165
|
end
|
162
|
-
|
166
|
+
|
163
167
|
def Data.Etb
|
164
|
-
|
168
|
+
new_c({"name":"Ethiopian Birr","iso_4217_3":"ETB","number_decimals":2})
|
165
169
|
end
|
166
|
-
|
170
|
+
|
167
171
|
def Data.Eur
|
168
|
-
|
172
|
+
new_c({"name":"Euro","iso_4217_3":"EUR","number_decimals":2,"symbols":{"primary":"€"},"default_locale":"de"})
|
169
173
|
end
|
170
|
-
|
174
|
+
|
171
175
|
def Data.Fkp
|
172
|
-
|
176
|
+
new_c({"name":"Falkland Islands Pound","iso_4217_3":"FKP","number_decimals":2})
|
173
177
|
end
|
174
|
-
|
178
|
+
|
175
179
|
def Data.Fjd
|
176
|
-
|
180
|
+
new_c({"name":"Fiji Dollar","iso_4217_3":"FJD","number_decimals":2,"default_locale":"en-FJ"})
|
177
181
|
end
|
178
|
-
|
182
|
+
|
179
183
|
def Data.Gmd
|
180
|
-
|
184
|
+
new_c({"name":"Gambia Delasi","iso_4217_3":"GMD","number_decimals":2,"default_locale":"en-GM"})
|
181
185
|
end
|
182
|
-
|
186
|
+
|
183
187
|
def Data.Gel
|
184
|
-
|
188
|
+
new_c({"name":"Georgian Lari","iso_4217_3":"GEL","number_decimals":2,"default_locale":"ka-GE"})
|
185
189
|
end
|
186
|
-
|
190
|
+
|
187
191
|
def Data.Ghs
|
188
|
-
|
192
|
+
new_c({"name":"Ghanaian Cedi (3rd)","iso_4217_3":"GHS","number_decimals":2,"default_locale":"ak-GH"})
|
189
193
|
end
|
190
|
-
|
194
|
+
|
191
195
|
def Data.Gip
|
192
|
-
|
196
|
+
new_c({"name":"Gibraltar Pound","iso_4217_3":"GIP","number_decimals":2})
|
193
197
|
end
|
194
|
-
|
198
|
+
|
195
199
|
def Data.Gtq
|
196
|
-
|
200
|
+
new_c({"name":"Guatemala Quetzal","iso_4217_3":"GTQ","number_decimals":2,"default_locale":"es-GT"})
|
197
201
|
end
|
198
|
-
|
202
|
+
|
199
203
|
def Data.Gnf
|
200
|
-
|
204
|
+
new_c({"name":"Guinea Franc","iso_4217_3":"GNF","number_decimals":0,"default_locale":"fr-GN"})
|
201
205
|
end
|
202
|
-
|
206
|
+
|
203
207
|
def Data.Gyd
|
204
|
-
|
208
|
+
new_c({"name":"Guyanese Dollar","iso_4217_3":"GYD","number_decimals":2,"default_locale":"en-GY"})
|
205
209
|
end
|
206
|
-
|
210
|
+
|
207
211
|
def Data.Htg
|
208
|
-
|
212
|
+
new_c({"name":"Haitian Gourde","iso_4217_3":"HTG","number_decimals":2})
|
209
213
|
end
|
210
|
-
|
214
|
+
|
211
215
|
def Data.Hnl
|
212
|
-
|
216
|
+
new_c({"name":"Honduras Lempira","iso_4217_3":"HNL","number_decimals":2,"default_locale":"es-HN"})
|
213
217
|
end
|
214
|
-
|
218
|
+
|
215
219
|
def Data.Hkd
|
216
|
-
|
220
|
+
new_c({"name":"Hong Kong Dollar","iso_4217_3":"HKD","number_decimals":2,"symbols":{"primary":"HK$","narrow":"$"},"default_locale":"zh-HK"})
|
217
221
|
end
|
218
|
-
|
222
|
+
|
219
223
|
def Data.Huf
|
220
|
-
|
224
|
+
new_c({"name":"Hungarian Forint","iso_4217_3":"HUF","number_decimals":2,"default_locale":"hu"})
|
221
225
|
end
|
222
|
-
|
226
|
+
|
223
227
|
def Data.Isk
|
224
|
-
|
228
|
+
new_c({"name":"Iceland Krona","iso_4217_3":"ISK","number_decimals":2,"default_locale":"is"})
|
225
229
|
end
|
226
|
-
|
230
|
+
|
227
231
|
def Data.Inr
|
228
|
-
|
232
|
+
new_c({"name":"Indian Rupee","iso_4217_3":"INR","number_decimals":2,"symbols":{"primary":"₹"},"default_locale":"bn-IN"})
|
229
233
|
end
|
230
|
-
|
234
|
+
|
231
235
|
def Data.Idr
|
232
|
-
|
236
|
+
new_c({"name":"Indonesian Rupiah","iso_4217_3":"IDR","number_decimals":0,"default_locale":"id"})
|
233
237
|
end
|
234
|
-
|
238
|
+
|
235
239
|
def Data.Jmd
|
236
|
-
|
240
|
+
new_c({"name":"Jamaican Dollar","iso_4217_3":"JMD","number_decimals":2,"default_locale":"en-JM"})
|
237
241
|
end
|
238
|
-
|
242
|
+
|
239
243
|
def Data.Jpy
|
240
|
-
|
244
|
+
new_c({"name":"Japanese Yen","iso_4217_3":"JPY","number_decimals":0,"symbols":{"primary":"¥"},"default_locale":"ja-JP"})
|
241
245
|
end
|
242
|
-
|
246
|
+
|
243
247
|
def Data.Jod
|
244
|
-
|
248
|
+
new_c({"name":"Jordanian Dinar","iso_4217_3":"JOD","number_decimals":3,"default_locale":"ar-JO"})
|
245
249
|
end
|
246
|
-
|
250
|
+
|
247
251
|
def Data.Kzt
|
248
|
-
|
252
|
+
new_c({"name":"Kazakhstani Tenge","iso_4217_3":"KZT","number_decimals":2,"default_locale":"kk-KZ"})
|
249
253
|
end
|
250
|
-
|
254
|
+
|
251
255
|
def Data.Kes
|
252
|
-
|
256
|
+
new_c({"name":"Kenyan Shilling","iso_4217_3":"KES","number_decimals":2,"default_locale":"en-KE"})
|
253
257
|
end
|
254
|
-
|
258
|
+
|
255
259
|
def Data.Kwd
|
256
|
-
|
260
|
+
new_c({"name":"Kuwaiti Dinar","iso_4217_3":"KWD","number_decimals":3,"default_locale":"ar-KW"})
|
257
261
|
end
|
258
|
-
|
262
|
+
|
259
263
|
def Data.Kgs
|
260
|
-
|
264
|
+
new_c({"name":"Kyrgyzstan Som","iso_4217_3":"KGS","number_decimals":2,"default_locale":"ru-KG"})
|
261
265
|
end
|
262
|
-
|
266
|
+
|
263
267
|
def Data.Lak
|
264
|
-
|
268
|
+
new_c({"name":"Laos Kip","iso_4217_3":"LAK","number_decimals":2,"default_locale":"lo-LA"})
|
265
269
|
end
|
266
|
-
|
270
|
+
|
267
271
|
def Data.Lvl
|
268
|
-
|
272
|
+
new_c({"name":"Latvian Lats","iso_4217_3":"LVL","number_decimals":2})
|
269
273
|
end
|
270
|
-
|
274
|
+
|
271
275
|
def Data.Lbp
|
272
|
-
|
276
|
+
new_c({"name":"Lebanese Pound","iso_4217_3":"LBP","number_decimals":2,"default_locale":"ar-LB"})
|
273
277
|
end
|
274
|
-
|
278
|
+
|
275
279
|
def Data.Lyd
|
276
|
-
|
280
|
+
new_c({"name":"Libyan Dinar","iso_4217_3":"LYD","number_decimals":3,"default_locale":"ar-LY"})
|
277
281
|
end
|
278
|
-
|
282
|
+
|
279
283
|
def Data.Ltl
|
280
|
-
|
284
|
+
new_c({"name":"Lithuanian Litas","iso_4217_3":"LTL","number_decimals":2})
|
281
285
|
end
|
282
|
-
|
286
|
+
|
283
287
|
def Data.Mop
|
284
|
-
|
288
|
+
new_c({"name":"Macau Pataca","iso_4217_3":"MOP","number_decimals":2,"default_locale":"zh-MO"})
|
285
289
|
end
|
286
|
-
|
290
|
+
|
287
291
|
def Data.Mwk
|
288
|
-
|
292
|
+
new_c({"name":"Malawi Kwacha","iso_4217_3":"MWK","number_decimals":2,"default_locale":"en-MW"})
|
289
293
|
end
|
290
|
-
|
294
|
+
|
291
295
|
def Data.Myr
|
292
|
-
|
296
|
+
new_c({"name":"Malaysian Ringgit","iso_4217_3":"MYR","number_decimals":2,"default_locale":"en-MY"})
|
293
297
|
end
|
294
|
-
|
298
|
+
|
295
299
|
def Data.Mvr
|
296
|
-
|
300
|
+
new_c({"name":"Maldives Rufiyaa","iso_4217_3":"MVR","number_decimals":2})
|
297
301
|
end
|
298
|
-
|
302
|
+
|
299
303
|
def Data.Mro
|
300
|
-
|
304
|
+
new_c({"name":"Mauritania Ouguiya","iso_4217_3":"MRO","number_decimals":1,"default_locale":"ar-MR"})
|
301
305
|
end
|
302
|
-
|
306
|
+
|
303
307
|
def Data.Mur
|
304
|
-
|
308
|
+
new_c({"name":"Mauritius Rupee","iso_4217_3":"MUR","number_decimals":2,"default_locale":"en-MU"})
|
305
309
|
end
|
306
|
-
|
310
|
+
|
307
311
|
def Data.Mxn
|
308
|
-
|
312
|
+
new_c({"name":"Mexican Peso","iso_4217_3":"MXN","number_decimals":2,"symbols":{"primary":"MX$","narrow":"$"},"default_locale":"es-MX"})
|
309
313
|
end
|
310
|
-
|
314
|
+
|
311
315
|
def Data.Mdl
|
312
|
-
|
316
|
+
new_c({"name":"Moldovia Leu","iso_4217_3":"MDL","number_decimals":2,"default_locale":"ro-MD"})
|
313
317
|
end
|
314
|
-
|
318
|
+
|
315
319
|
def Data.Mnt
|
316
|
-
|
320
|
+
new_c({"name":"Mongolia Tugrik","iso_4217_3":"MNT","number_decimals":2,"default_locale":"mn"})
|
317
321
|
end
|
318
|
-
|
322
|
+
|
319
323
|
def Data.Mad
|
320
|
-
|
324
|
+
new_c({"name":"Moroccan Dirham","iso_4217_3":"MAD","number_decimals":2,"default_locale":"ar-MA"})
|
321
325
|
end
|
322
|
-
|
326
|
+
|
323
327
|
def Data.Nad
|
324
|
-
|
328
|
+
new_c({"name":"Namibian Dollar","iso_4217_3":"NAD","number_decimals":2})
|
325
329
|
end
|
326
|
-
|
330
|
+
|
327
331
|
def Data.Npr
|
328
|
-
|
332
|
+
new_c({"name":"Nepalese Rupee","iso_4217_3":"NPR","number_decimals":2})
|
329
333
|
end
|
330
|
-
|
334
|
+
|
331
335
|
def Data.Byn
|
332
|
-
|
336
|
+
new_c({"name":"New Belarusian Ruble","iso_4217_3":"BYN","number_decimals":2})
|
333
337
|
end
|
334
|
-
|
338
|
+
|
335
339
|
def Data.Bgn
|
336
|
-
|
340
|
+
new_c({"name":"New Bulgarian Lev","iso_4217_3":"BGN","number_decimals":2,"default_locale":"bg"})
|
337
341
|
end
|
338
|
-
|
342
|
+
|
339
343
|
def Data.Pgk
|
340
|
-
|
344
|
+
new_c({"name":"New Guinea Kina","iso_4217_3":"PGK","number_decimals":2,"default_locale":"en-PG"})
|
341
345
|
end
|
342
|
-
|
346
|
+
|
343
347
|
def Data.Ils
|
344
|
-
|
348
|
+
new_c({"name":"New Israeli Scheqel","iso_4217_3":"ILS","number_decimals":2,"symbols":{"primary":"₪"},"default_locale":"ar-IL"})
|
345
349
|
end
|
346
|
-
|
350
|
+
|
347
351
|
def Data.Pln
|
348
|
-
|
352
|
+
new_c({"name":"New Polish Zloty","iso_4217_3":"PLN","number_decimals":2,"default_locale":"pl"})
|
349
353
|
end
|
350
|
-
|
354
|
+
|
351
355
|
def Data.Ron
|
352
|
-
|
356
|
+
new_c({"name":"New Romanian Lei","iso_4217_3":"RON","number_decimals":2,"default_locale":"ro"})
|
353
357
|
end
|
354
|
-
|
358
|
+
|
355
359
|
def Data.Twd
|
356
|
-
|
360
|
+
new_c({"name":"New Taiwan Dollar","iso_4217_3":"TWD","number_decimals":2,"symbols":{"primary":"NT$","narrow":"$"}})
|
357
361
|
end
|
358
|
-
|
362
|
+
|
359
363
|
def Data.Try
|
360
|
-
|
364
|
+
new_c({"name":"New Turkish Lira","iso_4217_3":"TRY","number_decimals":2,"default_locale":"tr"})
|
361
365
|
end
|
362
|
-
|
366
|
+
|
363
367
|
def Data.Nzd
|
364
|
-
|
368
|
+
new_c({"name":"New Zealand Dollar","iso_4217_3":"NZD","number_decimals":2,"symbols":{"primary":"NZ$","narrow":"$"},"default_locale":"en-CK"})
|
365
369
|
end
|
366
|
-
|
370
|
+
|
367
371
|
def Data.Nio
|
368
|
-
|
372
|
+
new_c({"name":"Nicaragua Cordoba Oro","iso_4217_3":"NIO","number_decimals":2,"default_locale":"es-NI"})
|
369
373
|
end
|
370
|
-
|
374
|
+
|
371
375
|
def Data.Ngn
|
372
|
-
|
376
|
+
new_c({"name":"Nigerian Naira","iso_4217_3":"NGN","number_decimals":2,"default_locale":"en-NG"})
|
373
377
|
end
|
374
|
-
|
378
|
+
|
375
379
|
def Data.Nok
|
376
|
-
|
380
|
+
new_c({"name":"Norwegian Krone","iso_4217_3":"NOK","number_decimals":2,"default_locale":"nb-NO"})
|
377
381
|
end
|
378
|
-
|
382
|
+
|
379
383
|
def Data.Pkr
|
380
|
-
|
384
|
+
new_c({"name":"Pakistan Rupee","iso_4217_3":"PKR","number_decimals":2,"default_locale":"en-PK"})
|
381
385
|
end
|
382
|
-
|
386
|
+
|
383
387
|
def Data.Pab
|
384
|
-
|
388
|
+
new_c({"name":"Panamanian Balboa","iso_4217_3":"PAB","number_decimals":2})
|
385
389
|
end
|
386
|
-
|
390
|
+
|
387
391
|
def Data.Pyg
|
388
|
-
|
392
|
+
new_c({"name":"Paraguay Guarani","iso_4217_3":"PYG","number_decimals":0,"default_locale":"es-PY"})
|
389
393
|
end
|
390
|
-
|
394
|
+
|
391
395
|
def Data.Pen
|
392
|
-
|
396
|
+
new_c({"name":"Peruvian Nuevo Sol","iso_4217_3":"PEN","number_decimals":2,"default_locale":"es-PE"})
|
393
397
|
end
|
394
|
-
|
398
|
+
|
395
399
|
def Data.Uyu
|
396
|
-
|
400
|
+
new_c({"name":"Peso Uruguayo","iso_4217_3":"UYU","number_decimals":2,"default_locale":"es-UY"})
|
397
401
|
end
|
398
|
-
|
402
|
+
|
399
403
|
def Data.Php
|
400
|
-
|
404
|
+
new_c({"name":"Philippine Peso","iso_4217_3":"PHP","number_decimals":2,"default_locale":"en-PH"})
|
401
405
|
end
|
402
|
-
|
406
|
+
|
403
407
|
def Data.Gbp
|
404
|
-
|
408
|
+
new_c({"name":"Pound Sterling","iso_4217_3":"GBP","number_decimals":2,"symbols":{"primary":"£"},"default_locale":"en-GB"})
|
405
409
|
end
|
406
|
-
|
410
|
+
|
407
411
|
def Data.Qar
|
408
|
-
|
412
|
+
new_c({"name":"Qatari Rial","iso_4217_3":"QAR","number_decimals":2,"default_locale":"ar-QA"})
|
409
413
|
end
|
410
|
-
|
414
|
+
|
411
415
|
def Data.Omr
|
412
|
-
|
416
|
+
new_c({"name":"Rial Omani","iso_4217_3":"OMR","number_decimals":3,"default_locale":"ar-OM"})
|
413
417
|
end
|
414
|
-
|
418
|
+
|
415
419
|
def Data.Rub
|
416
|
-
|
420
|
+
new_c({"name":"Russian Ruble","iso_4217_3":"RUB","number_decimals":2,"default_locale":"ru"})
|
417
421
|
end
|
418
|
-
|
422
|
+
|
419
423
|
def Data.Rwf
|
420
|
-
|
424
|
+
new_c({"name":"Rwanda Franc","iso_4217_3":"RWF","number_decimals":0,"default_locale":"en-RW"})
|
421
425
|
end
|
422
|
-
|
426
|
+
|
423
427
|
def Data.Wst
|
424
|
-
|
428
|
+
new_c({"name":"Samoan Tala","iso_4217_3":"WST","number_decimals":2,"default_locale":"en-WS"})
|
425
429
|
end
|
426
|
-
|
430
|
+
|
427
431
|
def Data.Std
|
428
|
-
|
432
|
+
new_c({"name":"Sao Tome & Principe Dobra","iso_4217_3":"STD","number_decimals":2,"default_locale":"pt-ST"})
|
429
433
|
end
|
430
|
-
|
434
|
+
|
431
435
|
def Data.Sar
|
432
|
-
|
436
|
+
new_c({"name":"Saudi Riyal","iso_4217_3":"SAR","number_decimals":2,"default_locale":"ar-SA"})
|
433
437
|
end
|
434
|
-
|
438
|
+
|
435
439
|
def Data.Rsd
|
436
|
-
|
440
|
+
new_c({"name":"Serbian Dinar","iso_4217_3":"RSD","number_decimals":2})
|
437
441
|
end
|
438
|
-
|
442
|
+
|
439
443
|
def Data.Scr
|
440
|
-
|
444
|
+
new_c({"name":"Seychelles Rupee","iso_4217_3":"SCR","number_decimals":2,"default_locale":"en-SC"})
|
441
445
|
end
|
442
|
-
|
446
|
+
|
443
447
|
def Data.Sll
|
444
|
-
|
448
|
+
new_c({"name":"Sierra Leone","iso_4217_3":"SLL","number_decimals":2,"default_locale":"en-SL"})
|
445
449
|
end
|
446
|
-
|
450
|
+
|
447
451
|
def Data.Sgd
|
448
|
-
|
452
|
+
new_c({"name":"Singapore Dollar","iso_4217_3":"SGD","number_decimals":2,"default_locale":"zh-SG"})
|
449
453
|
end
|
450
|
-
|
454
|
+
|
451
455
|
def Data.Sbd
|
452
|
-
|
456
|
+
new_c({"name":"Solomon Island Dollar","iso_4217_3":"SBD","number_decimals":2,"default_locale":"en-SB"})
|
453
457
|
end
|
454
|
-
|
458
|
+
|
455
459
|
def Data.Sos
|
456
|
-
|
460
|
+
new_c({"name":"Somalia Shilling","iso_4217_3":"SOS","number_decimals":2,"default_locale":"ar-SO"})
|
457
461
|
end
|
458
|
-
|
462
|
+
|
459
463
|
def Data.Zar
|
460
|
-
|
464
|
+
new_c({"name":"South African Rand","iso_4217_3":"ZAR","number_decimals":2,"default_locale":"af-NA"})
|
461
465
|
end
|
462
|
-
|
466
|
+
|
463
467
|
def Data.Krw
|
464
|
-
|
468
|
+
new_c({"name":"South-Korean Won","iso_4217_3":"KRW","number_decimals":0,"symbols":{"primary":"₩"}})
|
465
469
|
end
|
466
|
-
|
470
|
+
|
467
471
|
def Data.Lkr
|
468
|
-
|
472
|
+
new_c({"name":"Sri Lanka Rupee","iso_4217_3":"LKR","number_decimals":2,"default_locale":"ta-LK"})
|
469
473
|
end
|
470
|
-
|
474
|
+
|
471
475
|
def Data.Shp
|
472
|
-
|
476
|
+
new_c({"name":"St. Helena Pound","iso_4217_3":"SHP","number_decimals":2})
|
473
477
|
end
|
474
|
-
|
478
|
+
|
475
479
|
def Data.Szl
|
476
|
-
|
480
|
+
new_c({"name":"Swaziland Lilangeni","iso_4217_3":"SZL","number_decimals":2,"default_locale":"en-SZ"})
|
477
481
|
end
|
478
|
-
|
482
|
+
|
479
483
|
def Data.Sek
|
480
|
-
|
484
|
+
new_c({"name":"Swedish Krone","iso_4217_3":"SEK","number_decimals":2})
|
481
485
|
end
|
482
|
-
|
486
|
+
|
483
487
|
def Data.Chf
|
484
|
-
|
488
|
+
new_c({"name":"Swiss Franc","iso_4217_3":"CHF","number_decimals":2,"default_locale":"fr-CH"})
|
485
489
|
end
|
486
|
-
|
490
|
+
|
487
491
|
def Data.Tzs
|
488
|
-
|
492
|
+
new_c({"name":"Tanzanian Shilling","iso_4217_3":"TZS","number_decimals":2,"default_locale":"en-TZ"})
|
489
493
|
end
|
490
|
-
|
494
|
+
|
491
495
|
def Data.Thb
|
492
|
-
|
496
|
+
new_c({"name":"Thai Baht","iso_4217_3":"THB","number_decimals":2,"default_locale":"th"})
|
493
497
|
end
|
494
|
-
|
498
|
+
|
495
499
|
def Data.Top
|
496
|
-
|
500
|
+
new_c({"name":"Tonga Pa'anga","iso_4217_3":"TOP","number_decimals":2,"default_locale":"en-TO"})
|
497
501
|
end
|
498
|
-
|
502
|
+
|
499
503
|
def Data.Ttd
|
500
|
-
|
504
|
+
new_c({"name":"Trinidad & Tobago Dollar","iso_4217_3":"TTD","number_decimals":2,"default_locale":"en-TT"})
|
501
505
|
end
|
502
|
-
|
506
|
+
|
503
507
|
def Data.Tnd
|
504
|
-
|
508
|
+
new_c({"name":"Tunisian Dinar","iso_4217_3":"TND","number_decimals":3,"default_locale":"ar-TN"})
|
505
509
|
end
|
506
|
-
|
510
|
+
|
507
511
|
def Data.Aed
|
508
|
-
|
512
|
+
new_c({"name":"UAE Dirham","iso_4217_3":"AED","number_decimals":2,"default_locale":"ar-AE"})
|
509
513
|
end
|
510
|
-
|
514
|
+
|
511
515
|
def Data.Ugx
|
512
|
-
|
516
|
+
new_c({"name":"Uganda Shilling","iso_4217_3":"UGX","number_decimals":0,"default_locale":"en-UG"})
|
513
517
|
end
|
514
|
-
|
518
|
+
|
515
519
|
def Data.Uah
|
516
|
-
|
520
|
+
new_c({"name":"Ukraine Hryvnia","iso_4217_3":"UAH","number_decimals":2,"default_locale":"uk-UA"})
|
517
521
|
end
|
518
|
-
|
522
|
+
|
519
523
|
def Data.Usd
|
520
|
-
|
524
|
+
new_c({"name":"US Dollars","iso_4217_3":"USD","number_decimals":2,"symbols":{"primary":"$"},"default_locale":"en-US"})
|
521
525
|
end
|
522
|
-
|
526
|
+
|
523
527
|
def Data.Uzs
|
524
|
-
|
528
|
+
new_c({"name":"Uzbekistani Som","iso_4217_3":"UZS","number_decimals":2,"default_locale":"uz"})
|
525
529
|
end
|
526
|
-
|
530
|
+
|
527
531
|
def Data.Vuv
|
528
|
-
|
532
|
+
new_c({"name":"Vanuatu Vatu","iso_4217_3":"VUV","number_decimals":0,"default_locale":"en-VU"})
|
529
533
|
end
|
530
|
-
|
534
|
+
|
531
535
|
def Data.Vef
|
532
|
-
|
536
|
+
new_c({"name":"Venezuelan Bolívar","iso_4217_3":"VEF","number_decimals":2,"default_locale":"es-VE"})
|
533
537
|
end
|
534
|
-
|
538
|
+
|
535
539
|
def Data.Vnd
|
536
|
-
|
540
|
+
new_c({"name":"Vietnamese New Dong","iso_4217_3":"VND","number_decimals":0,"symbols":{"primary":"₫"}})
|
537
541
|
end
|
538
|
-
|
542
|
+
|
539
543
|
def Data.Yer
|
540
|
-
|
544
|
+
new_c({"name":"Yemeni Rial","iso_4217_3":"YER","number_decimals":2,"default_locale":"ar-YE"})
|
541
545
|
end
|
542
|
-
|
546
|
+
|
543
547
|
def Data.Cny
|
544
|
-
|
548
|
+
new_c({"name":"Yuan Renminbi","iso_4217_3":"CNY","number_decimals":2,"symbols":{"primary":"CN¥","narrow":"¥"},"default_locale":"zh-CN"})
|
545
549
|
end
|
546
|
-
|
550
|
+
|
547
551
|
def Data.Zmw
|
548
|
-
|
552
|
+
new_c({"name":"Zambia Kwacha","iso_4217_3":"ZMW","number_decimals":2,"default_locale":"en-ZM"})
|
549
553
|
end
|
550
|
-
|
551
|
-
end
|
552
|
-
|
553
|
-
def Currencies._get_currency(code)
|
554
|
-
case code
|
555
|
-
when :all
|
556
|
-
return Data.All
|
557
|
-
when :dzd
|
558
|
-
return Data.Dzd
|
559
|
-
when :ang
|
560
|
-
return Data.Ang
|
561
|
-
when :ars
|
562
|
-
return Data.Ars
|
563
|
-
when :amd
|
564
|
-
return Data.Amd
|
565
|
-
when :awg
|
566
|
-
return Data.Awg
|
567
|
-
when :aud
|
568
|
-
return Data.Aud
|
569
|
-
when :azn
|
570
|
-
return Data.Azn
|
571
|
-
when :bsd
|
572
|
-
return Data.Bsd
|
573
|
-
when :bhd
|
574
|
-
return Data.Bhd
|
575
|
-
when :bdt
|
576
|
-
return Data.Bdt
|
577
|
-
when :bbd
|
578
|
-
return Data.Bbd
|
579
|
-
when :bzd
|
580
|
-
return Data.Bzd
|
581
|
-
when :bmd
|
582
|
-
return Data.Bmd
|
583
|
-
when :bob
|
584
|
-
return Data.Bob
|
585
|
-
when :bam
|
586
|
-
return Data.Bam
|
587
|
-
when :bwp
|
588
|
-
return Data.Bwp
|
589
|
-
when :brl
|
590
|
-
return Data.Brl
|
591
|
-
when :bnd
|
592
|
-
return Data.Bnd
|
593
|
-
when :khr
|
594
|
-
return Data.Khr
|
595
|
-
when :cad
|
596
|
-
return Data.Cad
|
597
|
-
when :cve
|
598
|
-
return Data.Cve
|
599
|
-
when :kyd
|
600
|
-
return Data.Kyd
|
601
|
-
when :xof
|
602
|
-
return Data.Xof
|
603
|
-
when :xaf
|
604
|
-
return Data.Xaf
|
605
|
-
when :xpf
|
606
|
-
return Data.Xpf
|
607
|
-
when :clp
|
608
|
-
return Data.Clp
|
609
|
-
when :cop
|
610
|
-
return Data.Cop
|
611
|
-
when :kmf
|
612
|
-
return Data.Kmf
|
613
|
-
when :crc
|
614
|
-
return Data.Crc
|
615
|
-
when :hrk
|
616
|
-
return Data.Hrk
|
617
|
-
when :czk
|
618
|
-
return Data.Czk
|
619
|
-
when :dkk
|
620
|
-
return Data.Dkk
|
621
|
-
when :djf
|
622
|
-
return Data.Djf
|
623
|
-
when :dop
|
624
|
-
return Data.Dop
|
625
|
-
when :xcd
|
626
|
-
return Data.Xcd
|
627
|
-
when :egp
|
628
|
-
return Data.Egp
|
629
|
-
when :svc
|
630
|
-
return Data.Svc
|
631
|
-
when :eek
|
632
|
-
return Data.Eek
|
633
|
-
when :etb
|
634
|
-
return Data.Etb
|
635
|
-
when :eur
|
636
|
-
return Data.Eur
|
637
|
-
when :fkp
|
638
|
-
return Data.Fkp
|
639
|
-
when :fjd
|
640
|
-
return Data.Fjd
|
641
|
-
when :gmd
|
642
|
-
return Data.Gmd
|
643
|
-
when :gel
|
644
|
-
return Data.Gel
|
645
|
-
when :ghs
|
646
|
-
return Data.Ghs
|
647
|
-
when :gip
|
648
|
-
return Data.Gip
|
649
|
-
when :gtq
|
650
|
-
return Data.Gtq
|
651
|
-
when :gnf
|
652
|
-
return Data.Gnf
|
653
|
-
when :gyd
|
654
|
-
return Data.Gyd
|
655
|
-
when :htg
|
656
|
-
return Data.Htg
|
657
|
-
when :hnl
|
658
|
-
return Data.Hnl
|
659
|
-
when :hkd
|
660
|
-
return Data.Hkd
|
661
|
-
when :huf
|
662
|
-
return Data.Huf
|
663
|
-
when :isk
|
664
|
-
return Data.Isk
|
665
|
-
when :inr
|
666
|
-
return Data.Inr
|
667
|
-
when :idr
|
668
|
-
return Data.Idr
|
669
|
-
when :jmd
|
670
|
-
return Data.Jmd
|
671
|
-
when :jpy
|
672
|
-
return Data.Jpy
|
673
|
-
when :jod
|
674
|
-
return Data.Jod
|
675
|
-
when :kzt
|
676
|
-
return Data.Kzt
|
677
|
-
when :kes
|
678
|
-
return Data.Kes
|
679
|
-
when :kwd
|
680
|
-
return Data.Kwd
|
681
|
-
when :kgs
|
682
|
-
return Data.Kgs
|
683
|
-
when :lak
|
684
|
-
return Data.Lak
|
685
|
-
when :lvl
|
686
|
-
return Data.Lvl
|
687
|
-
when :lbp
|
688
|
-
return Data.Lbp
|
689
|
-
when :lyd
|
690
|
-
return Data.Lyd
|
691
|
-
when :ltl
|
692
|
-
return Data.Ltl
|
693
|
-
when :mop
|
694
|
-
return Data.Mop
|
695
|
-
when :mwk
|
696
|
-
return Data.Mwk
|
697
|
-
when :myr
|
698
|
-
return Data.Myr
|
699
|
-
when :mvr
|
700
|
-
return Data.Mvr
|
701
|
-
when :mro
|
702
|
-
return Data.Mro
|
703
|
-
when :mur
|
704
|
-
return Data.Mur
|
705
|
-
when :mxn
|
706
|
-
return Data.Mxn
|
707
|
-
when :mdl
|
708
|
-
return Data.Mdl
|
709
|
-
when :mnt
|
710
|
-
return Data.Mnt
|
711
|
-
when :mad
|
712
|
-
return Data.Mad
|
713
|
-
when :nad
|
714
|
-
return Data.Nad
|
715
|
-
when :npr
|
716
|
-
return Data.Npr
|
717
|
-
when :byn
|
718
|
-
return Data.Byn
|
719
|
-
when :bgn
|
720
|
-
return Data.Bgn
|
721
|
-
when :pgk
|
722
|
-
return Data.Pgk
|
723
|
-
when :ils
|
724
|
-
return Data.Ils
|
725
|
-
when :pln
|
726
|
-
return Data.Pln
|
727
|
-
when :ron
|
728
|
-
return Data.Ron
|
729
|
-
when :twd
|
730
|
-
return Data.Twd
|
731
|
-
when :try
|
732
|
-
return Data.Try
|
733
|
-
when :nzd
|
734
|
-
return Data.Nzd
|
735
|
-
when :nio
|
736
|
-
return Data.Nio
|
737
|
-
when :ngn
|
738
|
-
return Data.Ngn
|
739
|
-
when :nok
|
740
|
-
return Data.Nok
|
741
|
-
when :pkr
|
742
|
-
return Data.Pkr
|
743
|
-
when :pab
|
744
|
-
return Data.Pab
|
745
|
-
when :pyg
|
746
|
-
return Data.Pyg
|
747
|
-
when :pen
|
748
|
-
return Data.Pen
|
749
|
-
when :uyu
|
750
|
-
return Data.Uyu
|
751
|
-
when :php
|
752
|
-
return Data.Php
|
753
|
-
when :gbp
|
754
|
-
return Data.Gbp
|
755
|
-
when :qar
|
756
|
-
return Data.Qar
|
757
|
-
when :omr
|
758
|
-
return Data.Omr
|
759
|
-
when :rub
|
760
|
-
return Data.Rub
|
761
|
-
when :rwf
|
762
|
-
return Data.Rwf
|
763
|
-
when :wst
|
764
|
-
return Data.Wst
|
765
|
-
when :std
|
766
|
-
return Data.Std
|
767
|
-
when :sar
|
768
|
-
return Data.Sar
|
769
|
-
when :rsd
|
770
|
-
return Data.Rsd
|
771
|
-
when :scr
|
772
|
-
return Data.Scr
|
773
|
-
when :sll
|
774
|
-
return Data.Sll
|
775
|
-
when :sgd
|
776
|
-
return Data.Sgd
|
777
|
-
when :sbd
|
778
|
-
return Data.Sbd
|
779
|
-
when :sos
|
780
|
-
return Data.Sos
|
781
|
-
when :zar
|
782
|
-
return Data.Zar
|
783
|
-
when :krw
|
784
|
-
return Data.Krw
|
785
|
-
when :lkr
|
786
|
-
return Data.Lkr
|
787
|
-
when :shp
|
788
|
-
return Data.Shp
|
789
|
-
when :szl
|
790
|
-
return Data.Szl
|
791
|
-
when :sek
|
792
|
-
return Data.Sek
|
793
|
-
when :chf
|
794
|
-
return Data.Chf
|
795
|
-
when :tzs
|
796
|
-
return Data.Tzs
|
797
|
-
when :thb
|
798
|
-
return Data.Thb
|
799
|
-
when :top
|
800
|
-
return Data.Top
|
801
|
-
when :ttd
|
802
|
-
return Data.Ttd
|
803
|
-
when :tnd
|
804
|
-
return Data.Tnd
|
805
|
-
when :aed
|
806
|
-
return Data.Aed
|
807
|
-
when :ugx
|
808
|
-
return Data.Ugx
|
809
|
-
when :uah
|
810
|
-
return Data.Uah
|
811
|
-
when :usd
|
812
|
-
return Data.Usd
|
813
|
-
when :uzs
|
814
|
-
return Data.Uzs
|
815
|
-
when :vuv
|
816
|
-
return Data.Vuv
|
817
|
-
when :vef
|
818
|
-
return Data.Vef
|
819
|
-
when :vnd
|
820
|
-
return Data.Vnd
|
821
|
-
when :yer
|
822
|
-
return Data.Yer
|
823
|
-
when :cny
|
824
|
-
return Data.Cny
|
825
|
-
when :zmw
|
826
|
-
return Data.Zmw
|
827
|
-
end
|
828
|
-
nil
|
554
|
+
|
829
555
|
end
|
830
556
|
end
|
831
557
|
end
|
832
|
-
end
|
558
|
+
end
|