Sha256: 88376d452b4b2e7218628e730d75aa1536c971de059a390f6ed769cf81e40335

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

module ChgkRating
  module Models
    class Recap < Base
      no_eager_loading!
      no_lazy_support!

      def initialize(season_id_or_hash, params = {})
        @team_id = extract_id_from params[:team]
        super
      end

      private

      def api_path
        "teams/#{@team_id}/recaps"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chgk_rating-1.0.0.rc1 lib/chgk_rating/models/recap.rb