Sha256: 2dfea06d4101be05186886d99432f31c13dabaa22feddd5fcf37bce3841d36de
Contents?: true
Size: 638 Bytes
Versions: 21
Compression:
Stored size: 638 Bytes
Contents
module SportsDataApi module Ncaafb class Venue attr_reader :id, :name, :address, :city, :state, :zip, :country, :capacity, :type, :surface 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 end end end
Version data entries
21 entries across 21 versions & 1 rubygems