Class: YFantasy::Stat
- Inherits:
-
BaseSubresource
- Object
- BaseSubresource
- YFantasy::Stat
- Defined in:
- lib/y_fantasy/resources/shared_subresources/stat.rb
Overview
Represents
Instance Attribute Summary collapse
-
#stat_id ⇒ Integer
readonly
The Yahoo stat ID.
-
#value ⇒ String
readonly
The value for this stat.
Method Summary
Methods inherited from BaseSubresource
dependent?, find, resource_name
Methods included from Subresourceable
Instance Attribute Details
#stat_id ⇒ Integer (readonly)
Returns the Yahoo stat ID.
10 |
# File 'lib/y_fantasy/resources/shared_subresources/stat.rb', line 10 option :stat_id, type: Types::Coercible::Integer |
#value ⇒ String (readonly)
Returns the value for this stat.
14 |
# File 'lib/y_fantasy/resources/shared_subresources/stat.rb', line 14 option :value |