Class: EpitechApi::Gatherer
- Inherits:
-
Object
- Object
- EpitechApi::Gatherer
- Defined in:
- lib/epitech_api/gatherer.rb
Instance Attribute Summary collapse
-
#promo_manager ⇒ Object
Returns the value of attribute promo_manager.
-
#user_manager ⇒ Object
Returns the value of attribute user_manager.
Instance Method Summary collapse
-
#initialize(token) ⇒ Gatherer
constructor
A new instance of Gatherer.
Constructor Details
#initialize(token) ⇒ Gatherer
12 13 14 15 16 |
# File 'lib/epitech_api/gatherer.rb', line 12 def initialize(token) @token = token @promo_manager = PromoManager.new @token @user_manager = UserManager.new @token end |
Instance Attribute Details
#promo_manager ⇒ Object
Returns the value of attribute promo_manager.
10 11 12 |
# File 'lib/epitech_api/gatherer.rb', line 10 def promo_manager @promo_manager end |
#user_manager ⇒ Object
Returns the value of attribute user_manager.
10 11 12 |
# File 'lib/epitech_api/gatherer.rb', line 10 def user_manager @user_manager end |