Class: IGE_ISB_API::BonusAPI
- Inherits:
-
Object
- Object
- IGE_ISB_API::BonusAPI
- Defined in:
- lib/ige_isb_api/bonus_api.rb
Instance Method Summary collapse
- #accept_bonus(opts = {}) ⇒ Object
- #allow_withdrawal(opts = {}) ⇒ Object
- #assign_certificate_to_player(opts = {}) ⇒ Object
- #bonus_vip_points(opts = {}) ⇒ Object
- #cancel_bonus(opts = {}) ⇒ Object
- #certificate_exists(opts = {}) ⇒ Object
- #count_client_bonuses(opts = {}) ⇒ Object
- #count_promo_codes(opts = {}) ⇒ Object
- #decline_bonus(opts = {}) ⇒ Object
- #delete_generated_certificate(opts = {}) ⇒ Object
- #delete_player_assigned_certificate(opts = {}) ⇒ Object
- #generate_bulk_certificates(opts = {}) ⇒ Object
- #generate_certificate(opts = {}) ⇒ Object
- #generate_player_assigned_certificate(opts = {}) ⇒ Object
- #get_client_bonuses(opts = {}) ⇒ Object
- #get_max_withdrawal(opts = {}) ⇒ Object
- #get_player_assigned_certificates(opts = {}) ⇒ Object
- #get_remaining_playthrough(opts = {}) ⇒ Object
- #get_template_id_by_name(opts = {}) ⇒ Object
- #get_templates_info(opts = {}) ⇒ Object
-
#get_trigger_bonus(opts = {}) ⇒ Object
the following options must be passed in.
- #has_pending_offers(opts = {}) ⇒ Object
-
#initialize ⇒ BonusAPI
constructor
A new instance of BonusAPI.
- #is_transaction_used(opts = {}) ⇒ Object
- #issue_batch_remote_bonus(opts = {}) ⇒ Object
- #issue_bonus(opts = {}) ⇒ Object
- #issue_remote_bonus(opts = {}) ⇒ Object
- #redeem_threshold(opts = {}) ⇒ Object
- #remove_bonus_and_winnings_on_withdraw(opts = {}) ⇒ Object
- #reset_bonus(opts = {}) ⇒ Object
- #sum_bonuses(opts = {}) ⇒ Object
- #update_active_balance_current_value(opts = {}) ⇒ Object
Constructor Details
#initialize ⇒ BonusAPI
Returns a new instance of BonusAPI.
7 8 9 |
# File 'lib/ige_isb_api/bonus_api.rb', line 7 def initialize() # nothing to do here right now. end |
Instance Method Details
#accept_bonus(opts = {}) ⇒ Object
33 34 35 |
# File 'lib/ige_isb_api/bonus_api.rb', line 33 def accept_bonus(opts = {}) return get_response_for __method__.to_s, opts end |
#allow_withdrawal(opts = {}) ⇒ Object
117 118 119 |
# File 'lib/ige_isb_api/bonus_api.rb', line 117 def allow_withdrawal(opts = {}) return get_response_for __method__.to_s, opts end |
#assign_certificate_to_player(opts = {}) ⇒ Object
65 66 67 |
# File 'lib/ige_isb_api/bonus_api.rb', line 65 def assign_certificate_to_player(opts = {}) return get_response_for __method__.to_s, opts end |
#bonus_vip_points(opts = {}) ⇒ Object
69 70 71 |
# File 'lib/ige_isb_api/bonus_api.rb', line 69 def bonus_vip_points(opts = {}) return get_response_for __method__.to_s, opts end |
#cancel_bonus(opts = {}) ⇒ Object
53 54 55 |
# File 'lib/ige_isb_api/bonus_api.rb', line 53 def cancel_bonus(opts = {}) return get_response_for __method__.to_s, opts end |
#certificate_exists(opts = {}) ⇒ Object
113 114 115 |
# File 'lib/ige_isb_api/bonus_api.rb', line 113 def certificate_exists(opts = {}) return get_response_for __method__.to_s, opts end |
#count_client_bonuses(opts = {}) ⇒ Object
25 26 27 |
# File 'lib/ige_isb_api/bonus_api.rb', line 25 def count_client_bonuses(opts = {}) return get_response_for __method__.to_s, opts end |
#count_promo_codes(opts = {}) ⇒ Object
89 90 91 |
# File 'lib/ige_isb_api/bonus_api.rb', line 89 def count_promo_codes(opts = {}) return get_response_for __method__.to_s, opts end |
#decline_bonus(opts = {}) ⇒ Object
37 38 39 |
# File 'lib/ige_isb_api/bonus_api.rb', line 37 def decline_bonus(opts = {}) return get_response_for __method__.to_s, opts end |
#delete_generated_certificate(opts = {}) ⇒ Object
109 110 111 |
# File 'lib/ige_isb_api/bonus_api.rb', line 109 def delete_generated_certificate(opts = {}) return get_response_for __method__.to_s, opts end |
#delete_player_assigned_certificate(opts = {}) ⇒ Object
105 106 107 |
# File 'lib/ige_isb_api/bonus_api.rb', line 105 def delete_player_assigned_certificate(opts = {}) return get_response_for __method__.to_s, opts end |
#generate_bulk_certificates(opts = {}) ⇒ Object
77 78 79 |
# File 'lib/ige_isb_api/bonus_api.rb', line 77 def generate_bulk_certificates(opts = {}) return get_response_for __method__.to_s, opts end |
#generate_certificate(opts = {}) ⇒ Object
73 74 75 |
# File 'lib/ige_isb_api/bonus_api.rb', line 73 def generate_certificate(opts = {}) return get_response_for __method__.to_s, opts end |
#generate_player_assigned_certificate(opts = {}) ⇒ Object
81 82 83 |
# File 'lib/ige_isb_api/bonus_api.rb', line 81 def generate_player_assigned_certificate(opts = {}) return get_response_for __method__.to_s, opts end |
#get_client_bonuses(opts = {}) ⇒ Object
21 22 23 |
# File 'lib/ige_isb_api/bonus_api.rb', line 21 def get_client_bonuses(opts = {}) return get_response_for __method__.to_s, opts end |
#get_max_withdrawal(opts = {}) ⇒ Object
125 126 127 |
# File 'lib/ige_isb_api/bonus_api.rb', line 125 def get_max_withdrawal(opts = {}) return get_response_for __method__.to_s, opts end |
#get_player_assigned_certificates(opts = {}) ⇒ Object
101 102 103 |
# File 'lib/ige_isb_api/bonus_api.rb', line 101 def get_player_assigned_certificates(opts = {}) return get_response_for __method__.to_s, opts end |
#get_remaining_playthrough(opts = {}) ⇒ Object
41 42 43 |
# File 'lib/ige_isb_api/bonus_api.rb', line 41 def get_remaining_playthrough(opts = {}) return get_response_for __method__.to_s, opts end |
#get_template_id_by_name(opts = {}) ⇒ Object
85 86 87 |
# File 'lib/ige_isb_api/bonus_api.rb', line 85 def get_template_id_by_name(opts = {}) return get_response_for __method__.to_s, opts end |
#get_templates_info(opts = {}) ⇒ Object
137 138 139 |
# File 'lib/ige_isb_api/bonus_api.rb', line 137 def get_templates_info(opts = {}) return get_response_for __method__.to_s, opts end |
#get_trigger_bonus(opts = {}) ⇒ Object
the following options must be passed in.
trigger: one of 'sign up', 'deposit', or 'promotion code'
login: "the user's username, as registered with ISB",
The following may be passed in and are presented here with their defaults.
transaction_ref: some unique transaction reference,
17 18 19 |
# File 'lib/ige_isb_api/bonus_api.rb', line 17 def get_trigger_bonus(opts = {}) return get_response_for __method__.to_s, opts end |
#has_pending_offers(opts = {}) ⇒ Object
29 30 31 |
# File 'lib/ige_isb_api/bonus_api.rb', line 29 def has_pending_offers(opts = {}) return get_response_for __method__.to_s, opts end |
#is_transaction_used(opts = {}) ⇒ Object
97 98 99 |
# File 'lib/ige_isb_api/bonus_api.rb', line 97 def is_transaction_used(opts = {}) return get_response_for __method__.to_s, opts end |
#issue_batch_remote_bonus(opts = {}) ⇒ Object
133 134 135 |
# File 'lib/ige_isb_api/bonus_api.rb', line 133 def issue_batch_remote_bonus(opts = {}) return get_response_for __method__.to_s, opts end |
#issue_bonus(opts = {}) ⇒ Object
49 50 51 |
# File 'lib/ige_isb_api/bonus_api.rb', line 49 def issue_bonus(opts = {}) return get_response_for __method__.to_s, opts end |
#issue_remote_bonus(opts = {}) ⇒ Object
129 130 131 |
# File 'lib/ige_isb_api/bonus_api.rb', line 129 def issue_remote_bonus(opts = {}) return get_response_for __method__.to_s, opts end |
#redeem_threshold(opts = {}) ⇒ Object
141 142 143 |
# File 'lib/ige_isb_api/bonus_api.rb', line 141 def redeem_threshold(opts = {}) return get_response_for __method__.to_s, opts end |
#remove_bonus_and_winnings_on_withdraw(opts = {}) ⇒ Object
45 46 47 |
# File 'lib/ige_isb_api/bonus_api.rb', line 45 def remove_bonus_and_winnings_on_withdraw(opts = {}) return get_response_for __method__.to_s, opts end |
#reset_bonus(opts = {}) ⇒ Object
57 58 59 |
# File 'lib/ige_isb_api/bonus_api.rb', line 57 def reset_bonus(opts = {}) return get_response_for __method__.to_s, opts end |
#sum_bonuses(opts = {}) ⇒ Object
93 94 95 |
# File 'lib/ige_isb_api/bonus_api.rb', line 93 def sum_bonuses(opts = {}) return get_response_for __method__.to_s, opts end |
#update_active_balance_current_value(opts = {}) ⇒ Object
61 62 63 |
# File 'lib/ige_isb_api/bonus_api.rb', line 61 def update_active_balance_current_value(opts = {}) return get_response_for __method__.to_s, opts end |