Class: Fantasydata::Stadium

Inherits:
Base
  • Object
show all
Defined in:
lib/fantasydata/stadium.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#==, attr_reader, #attrs, #initialize, #update

Constructor Details

This class inherits a constructor from Fantasydata::Base

Instance Attribute Details

#capacity ⇒ Object (readonly)

Returns the value of attribute capacity.



5
6
7
# File 'lib/fantasydata/stadium.rb', line 5

def capacity
  @capacity
end

#city ⇒ Object (readonly)

Returns the value of attribute city.



5
6
7
# File 'lib/fantasydata/stadium.rb', line 5

def city
  @city
end

#country ⇒ Object (readonly)

Returns the value of attribute country.



5
6
7
# File 'lib/fantasydata/stadium.rb', line 5

def country
  @country
end

#name ⇒ Object (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/fantasydata/stadium.rb', line 5

def name
  @name
end

#playing_surface ⇒ Object (readonly)

Returns the value of attribute playing_surface.



5
6
7
# File 'lib/fantasydata/stadium.rb', line 5

def playing_surface
  @playing_surface
end

#stadium_id ⇒ Object (readonly)

Returns the value of attribute stadium_id.



5
6
7
# File 'lib/fantasydata/stadium.rb', line 5

def stadium_id
  @stadium_id
end

#state ⇒ Object (readonly)

Returns the value of attribute state.



5
6
7
# File 'lib/fantasydata/stadium.rb', line 5

def state
  @state
end