Class: MLB::StandingsType

Inherits:
Shale::Mapper
  • Object
show all
Defined in:
lib/mlb/standings_type.rb

Overview

Represents a standings type

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

Returns the description

Examples:

standings_type.description #=> "Regular Season Standings"

Returns:

  • (String)

    the description



23
# File 'lib/mlb/standings_type.rb', line 23

attribute :description, Shale::Type::String

#nameString

Returns the standings type name

Examples:

standings_type.name #=> "regularSeason"

Returns:

  • (String)

    the standings type name



15
# File 'lib/mlb/standings_type.rb', line 15

attribute :name, Shale::Type::String