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

#capacityObject (readonly)

Returns the value of attribute capacity.



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

def capacity
  @capacity
end

#cityObject (readonly)

Returns the value of attribute city.



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

def city
  @city
end

#countryObject (readonly)

Returns the value of attribute country.



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

def country
  @country
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#playing_surfaceObject (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_idObject (readonly)

Returns the value of attribute stadium_id.



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

def stadium_id
  @stadium_id
end

#stateObject (readonly)

Returns the value of attribute state.



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

def state
  @state
end