Class: YFantasy::Stat

Inherits:
BaseSubresource show all
Defined in:
lib/y_fantasy/resources/shared_subresources/stat.rb

Overview

Represents

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseSubresource

dependent?, find, resource_name

Methods included from Subresourceable

included

Instance Attribute Details

#stat_idInteger (readonly)

Returns the Yahoo stat ID.

Returns:

  • (Integer)

    the Yahoo stat ID



10
# File 'lib/y_fantasy/resources/shared_subresources/stat.rb', line 10

option :stat_id, type: Types::Coercible::Integer

#valueString (readonly)

Returns the value for this stat.

Returns:

  • (String)

    the value for this stat



14
# File 'lib/y_fantasy/resources/shared_subresources/stat.rb', line 14

option :value