Class: AhlScraper::Games::Referee
- Inherits:
-
Resource
- Object
- Resource
- AhlScraper::Games::Referee
show all
- Defined in:
- lib/ahl_scraper/resources/games/referee.rb
Instance Method Summary
collapse
Methods inherited from Resource
#[], #each, #initialize, #inspect, #keys, #to_json, #values
Instance Method Details
#first_name ⇒ Object
6
7
8
|
# File 'lib/ahl_scraper/resources/games/referee.rb', line 6
def first_name
@first_name ||= @raw_data[:firstName]
end
|
#jersey_number ⇒ Object
14
15
16
|
# File 'lib/ahl_scraper/resources/games/referee.rb', line 14
def jersey_number
@jersey_number ||= @raw_data[:jerseyNumber]
end
|
#last_name ⇒ Object
10
11
12
|
# File 'lib/ahl_scraper/resources/games/referee.rb', line 10
def last_name
@last_name ||= @raw_data[:lastName]
end
|
#role ⇒ Object
18
19
20
|
# File 'lib/ahl_scraper/resources/games/referee.rb', line 18
def role
@role ||= @raw_data[:role]
end
|