Class: Appwrite::Locale
Instance Method Summary
collapse
Methods inherited from Service
#initialize
Instance Method Details
#get_countries ⇒ Object
15
16
17
18
19
20
21
22
23
24
|
# File 'lib/appwrite/services/locale.rb', line 15
def get_countries()
path = '/locale/countries'
params = {
}
return @client.call('get', path, {
'content-type' => 'application/json',
}, params);
end
|
#get_countries_e_u ⇒ Object
26
27
28
29
30
31
32
33
34
35
|
# File 'lib/appwrite/services/locale.rb', line 26
def get_countries_e_u()
path = '/locale/countries/eu'
params = {
}
return @client.call('get', path, {
'content-type' => 'application/json',
}, params);
end
|
#get_countries_phones ⇒ Object
37
38
39
40
41
42
43
44
45
46
|
# File 'lib/appwrite/services/locale.rb', line 37
def get_countries_phones()
path = '/locale/countries/phones'
params = {
}
return @client.call('get', path, {
'content-type' => 'application/json',
}, params);
end
|
#get_currencies ⇒ Object
48
49
50
51
52
53
54
55
56
57
|
# File 'lib/appwrite/services/locale.rb', line 48
def get_currencies()
path = '/locale/currencies'
params = {
}
return @client.call('get', path, {
'content-type' => 'application/json',
}, params);
end
|
#get_locale ⇒ Object
4
5
6
7
8
9
10
11
12
13
|
# File 'lib/appwrite/services/locale.rb', line 4
def get_locale()
path = '/locale'
params = {
}
return @client.call('get', path, {
'content-type' => 'application/json',
}, params);
end
|