Class: EME::AMS
- Inherits:
-
APIConsumer
- Object
- APIConsumer
- EME::AMS
- Defined in:
- lib/eme/ams.rb
Class Method Summary collapse
- .add_vip_crystals ⇒ Object
- .add_vip_exp ⇒ Object
- .game_account(game_account_id, conn = connection) ⇒ Object
- .game_accounts(master_account_id, conn = connection) ⇒ Object
- .vip_crystals ⇒ Object
- .vip_exp ⇒ Object
Class Method Details
.add_vip_crystals ⇒ Object
21 22 23 |
# File 'lib/eme/ams.rb', line 21 def self.add_vip_crystals() end |
.add_vip_exp ⇒ Object
25 26 27 28 |
# File 'lib/eme/ams.rb', line 25 def self.add_vip_exp() # POST #do_request("/api/v1/game-accounts/#{game-account_id}/get_vip_exp") end |
.game_account(game_account_id, conn = connection) ⇒ Object
5 6 7 |
# File 'lib/eme/ams.rb', line 5 def self.game_account(game_account_id, conn = connection) do_request("/api/v1/game_accounts/#{game_account_id}", conn) end |
.game_accounts(master_account_id, conn = connection) ⇒ Object
9 10 11 |
# File 'lib/eme/ams.rb', line 9 def self.game_accounts(master_account_id, conn = connection) do_request("/api/v1/game_accounts/all/#{master_account_id}", conn) end |
.vip_crystals ⇒ Object
17 18 19 |
# File 'lib/eme/ams.rb', line 17 def self.vip_crystals() do_request("/api/v1/vip/") end |
.vip_exp ⇒ Object
13 14 15 |
# File 'lib/eme/ams.rb', line 13 def self.vip_exp() do_request("/api/v1/game-accounts/#{game-account_id}/get_vip_exp") end |