Sha256: 9441b3b50735b34d06c053f9bef379125f09ce7d65c1fb348335016947dc3e9c
Contents?: true
Size: 635 Bytes
Versions: 19
Compression:
Stored size: 635 Bytes
Contents
module SportsDataApi module Nfl 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
19 entries across 19 versions & 1 rubygems