lib/sportradar/api/nfl/franchise.rb in sportradar-api-0.1.38 vs lib/sportradar/api/nfl/franchise.rb in sportradar-api-0.9.0
- old
+ new
@@ -1,10 +1,9 @@
module Sportradar
module Api
class Nfl::Franchise < Data
attr_accessor :response, :name, :alias
-
def initialize(data)
@response = data
@name = data["name"]
@alias = data["alias"]
end