class SportsDataApi::Ncaamb::Venue
Attributes
address[R]
capacity[R]
city[R]
country[R]
id[R]
name[R]
state[R]
zip[R]
Public Class Methods
new(xml)
click to toggle source
# File lib/sports_data_api/ncaamb/venue.rb, line 5 def initialize(xml) xml = xml.first if xml.is_a? Nokogiri::XML::NodeSet if xml.is_a? Nokogiri::XML::Element @id = xml['id'] @name = xml['name'] @address = xml['address'] @city = xml['city'] @state = xml['state'] @zip = xml['zip'] @country = xml['country'] @capacity = xml['capacity'] end end