Class: NbaRb::Team::List
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#league_id ⇒ Object
Returns the value of attribute league_id.
Instance Method Summary collapse
- #info ⇒ Object
-
#initialize(*args) ⇒ List
constructor
A new instance of List.
Methods included from StatsRequest
Methods included from StatsHash
Constructor Details
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
4 5 6 |
# File 'lib/nba_rb/team/list.rb', line 4 def data @data end |
#league_id ⇒ Object
Returns the value of attribute league_id.
4 5 6 |
# File 'lib/nba_rb/team/list.rb', line 4 def league_id @league_id end |
Instance Method Details
#info ⇒ Object
17 18 19 |
# File 'lib/nba_rb/team/list.rb', line 17 def info create_stats_hash(@data[0]) end |