Class: AhlScraper::TeamRosterDataFetcher
- Inherits:
-
Object
- Object
- AhlScraper::TeamRosterDataFetcher
- Defined in:
- lib/ahl_scraper/fetchers/team_roster_data_fetcher.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(team_id, season_id) ⇒ TeamRosterDataFetcher
constructor
A new instance of TeamRosterDataFetcher.
Constructor Details
#initialize(team_id, season_id) ⇒ TeamRosterDataFetcher
Returns a new instance of TeamRosterDataFetcher.
5 6 7 8 |
# File 'lib/ahl_scraper/fetchers/team_roster_data_fetcher.rb', line 5 def initialize(team_id, season_id) @team_id = team_id @season_id = season_id end |
Instance Method Details
#call ⇒ Object
10 11 12 13 14 15 |
# File 'lib/ahl_scraper/fetchers/team_roster_data_fetcher.rb', line 10 def call fetch_roster_data merge_positional_data merge_roster_data merge_all_data end |