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.11.48 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.47 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.46 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.45 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.44 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.43 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.42 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.41 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.40 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.39 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.38 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.37 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.36 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.35 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.34 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.33 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.32 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.31 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.30 lib/sportradar/api/football/stat_pack/int_returns.rb
sportradar-api-0.11.29 lib/sportradar/api/football/stat_pack/int_returns.rb