Sha256: b9aa8715c7780288872734c79930c1c72cb91e0b8ccfd26a9138e6d5093a7303

Contents?: true

Size: 542 Bytes

Versions: 247

Compression:

Stored size: 542 Bytes

Contents

module Sportradar
  module Api
    class Football::StatPack::IntReturns < Football::StatPack
      attr_accessor :returns, :yards, :avg_yards, :touchdowns, :longest, :longest_touchdown

      def set_stats
        @returns           = response["returns"]
        @yards             = response["yards"]
        @avg_yards         = response["avg_yards"]
        @touchdowns        = response["touchdowns"]
        @longest           = response["longest"]
        @longest_touchdown = response["longest_touchdown"]
      end
    end

  end
end

Version data entries

247 entries across 247 versions & 1 rubygems

Version Path
sportradar-api-0.20.2 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.20.1 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.20.0 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.20.0.pre2 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.20.0.pre lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.19.6 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.19.5 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.19.4 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.19.3 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.19.2 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.19.1 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.19.0 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.18.1 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.18.0 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.17.6 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.17.5 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.17.5.pre lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.17.4 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.17.3 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.17.2 lib/sportradar/api/football/stat_pack/int_returns.rb