From 097d77369d9c7ffca4b56b6fddffa1380095e124 Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Tue, 13 Jan 2026 15:04:27 -0700 Subject: [PATCH] Added recipe statistics model Necessary to model the statistics of the response. Will soon be used by the recipe model (soon to be used). Milestone: minor --- lib/trmnl/api/models/recipes/statistics.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lib/trmnl/api/models/recipes/statistics.rb diff --git a/lib/trmnl/api/models/recipes/statistics.rb b/lib/trmnl/api/models/recipes/statistics.rb new file mode 100644 index 0000000..d4c9d30 --- /dev/null +++ b/lib/trmnl/api/models/recipes/statistics.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +module TRMNL + module API + module Models + module Recipes + # Models the statistics of the API response. + Statistics = Data.define :installs, :forks + end + end + end +end