Class: NBA::Division
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::Division
- Defined in:
- lib/nba/division.rb
Overview
Represents an NBA division
Instance Attribute Summary collapse
-
#conference ⇒ Conference
Returns the conference this division belongs to.
-
#id ⇒ Integer
Returns the unique identifier for the division.
-
#link ⇒ String
Returns the API link for the division.
-
#name ⇒ String
Returns the division name.
Instance Attribute Details
#conference ⇒ Conference
Returns the conference this division belongs to
40 |
# File 'lib/nba/division.rb', line 40 attribute :conference, Conference |
#id ⇒ Integer
Returns the unique identifier for the division
16 |
# File 'lib/nba/division.rb', line 16 attribute :id, Shale::Type::Integer |
#link ⇒ String
Returns the API link for the division
32 |
# File 'lib/nba/division.rb', line 32 attribute :link, Shale::Type::String |
#name ⇒ String
Returns the division name
24 |
# File 'lib/nba/division.rb', line 24 attribute :name, Shale::Type::String |