Class: ChgkRating::Models::Recap
- Inherits:
-
Base
- Object
- ChgkObject
- Base
- ChgkRating::Models::Recap
- Defined in:
- lib/chgk_rating/models/recap.rb
Constant Summary
Constants included from Connection
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(season_id_or_hash, params = {}) ⇒ Recap
constructor
A new instance of Recap.
Methods inherited from Base
attribute_mapping, #eager_load!, inherited, no_eager_loading!, no_lazy_support!, #to_h
Methods included from Request
Methods included from Connection
Methods inherited from ChgkObject
#build_model, #extract_id_from
Constructor Details
#initialize(season_id_or_hash, params = {}) ⇒ Recap
Returns a new instance of Recap.
9 10 11 12 |
# File 'lib/chgk_rating/models/recap.rb', line 9 def initialize(season_id_or_hash, params = {}) @team_id = extract_id_from params[:team] super end |