Sha256: 15e6fd3cc742f86bf5fa5f71545dd94609d6b2c14c84cd7baa287d854e4d2bb5

Contents?: true

Size: 540 Bytes

Versions: 2

Compression:

Stored size: 540 Bytes

Contents

module Sportradar
  module Api
    class Soccer::Venue

      attr_accessor :id, :name, :country_code, :country, :city, :capacity, :coordinates, :reference_id, :response

      def initialize(data)
        @id = data["id"]
        @name = data["name"]
        @country_code = data["country_code"]
        @country = data["country"]
        @city = data["city"]
        @capacity = data["capacity"]
        @coordinates = data["coordinates"]
        @reference_id = data["reference_id"]
        @response = data
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sportradar-api-0.1.4 lib/sportradar/api/soccer/venue.rb
sportradar-api-0.1.3 lib/sportradar/api/soccer/venue.rb