Class: EpitechApi::Gatherer

Inherits:
Object
  • Object
show all
Defined in:
lib/epitech_api/gatherer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_managerObject

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_managerObject

Returns the value of attribute user_manager.



10
11
12
# File 'lib/epitech_api/gatherer.rb', line 10

def user_manager
  @user_manager
end