gmo_services 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/config/locales/gmo_error_info/en.yml +1233 -0
- data/lib/config/settings.yml +14 -0
- data/lib/gmo_services/version.rb +1 -1
- data/lib/gmo_services.rb +2 -3
- metadata +3 -1
@@ -0,0 +1,14 @@
|
|
1
|
+
payments:
|
2
|
+
card:
|
3
|
+
entry_transaction_api_url: '/payment/EntryTran.idPass'
|
4
|
+
execute_transaction_api_url: '/payment/ExecTran.idPass'
|
5
|
+
search_transaction_api_url: '/payment/SearchTrade.idPass'
|
6
|
+
alter_transaction_api_url: '/payment/AlterTran.idPass'
|
7
|
+
member:
|
8
|
+
register_member_api_url: '/payment/SaveMember.idPass'
|
9
|
+
search_member_api_url: '/payment/SearchMember.idPass'
|
10
|
+
update_member_api_url: '/payment/UpdateMember.idPass'
|
11
|
+
delete_member_api_url: '/payment/DeleteMember.idPass'
|
12
|
+
add_card_to_member_api_url: '/payment/SaveCard.idPass'
|
13
|
+
search_card_api_url: '/payment/SearchCard.idPass'
|
14
|
+
delete_card_api_url: '/payment/DeleteCard.idPass'
|
data/lib/gmo_services/version.rb
CHANGED
data/lib/gmo_services.rb
CHANGED
@@ -6,11 +6,10 @@ require 'net/http'
|
|
6
6
|
require 'rack/utils'
|
7
7
|
|
8
8
|
require 'i18n'
|
9
|
-
I18n.load_path << Dir["#{File.expand_path('config/locales')}/**/*.yml"]
|
10
|
-
I18n.default_locale = :en
|
9
|
+
I18n.load_path << Dir["#{File.expand_path('lib/config/locales')}/**/*.yml"]
|
11
10
|
|
12
11
|
require 'config'
|
13
|
-
Config.load_and_set_settings('config/settings.yml')
|
12
|
+
Config.load_and_set_settings('lib/config/settings.yml')
|
14
13
|
|
15
14
|
module GmoServices
|
16
15
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gmo_services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NGUYEN THANH VIET
|
@@ -132,6 +132,8 @@ files:
|
|
132
132
|
- CODE_OF_CONDUCT.md
|
133
133
|
- LICENSE.txt
|
134
134
|
- README.md
|
135
|
+
- lib/config/locales/gmo_error_info/en.yml
|
136
|
+
- lib/config/settings.yml
|
135
137
|
- lib/gmo_services.rb
|
136
138
|
- lib/gmo_services/payments/base.rb
|
137
139
|
- lib/gmo_services/payments/card.rb
|