class SportsDataApi::Ncaafb::Venue

Attributes

address[R]
capacity[R]
city[R]
country[R]
id[R]
name[R]
state[R]
surface[R]
type[R]
zip[R]

Public Class Methods

new(venue_hash) click to toggle source
# File lib/sports_data_api/ncaafb/venue.rb, line 5
def initialize(venue_hash)
  if venue_hash
    @id = venue_hash['id']
    @name = venue_hash['name']
    @address = venue_hash['address']
    @city = venue_hash['city']
    @state = venue_hash['state']
    @zip = venue_hash['zip']
    @country = venue_hash['country']
    @capacity = venue_hash['capacity']
    @type = venue_hash['type']
    @surface = venue_hash['surface']
  end
end