Class: MLB::DerbyInfo
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- MLB::DerbyInfo
- Defined in:
- lib/mlb/home_run_derby.rb
Overview
Represents home run derby info
Instance Attribute Summary collapse
-
#id ⇒ Integer
Returns the derby ID.
-
#name ⇒ String
Returns the derby name.
Instance Attribute Details
#id ⇒ Integer
Returns the derby ID
231 |
# File 'lib/mlb/home_run_derby.rb', line 231 attribute :id, Shale::Type::Integer |
#name ⇒ String
Returns the derby name
239 |
# File 'lib/mlb/home_run_derby.rb', line 239 attribute :name, Shale::Type::String |