about summary refs log tree commit diff
path: root/app/lib/response_with_limit.rb
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2020-07-01 16:04:26 -0500
committerStarfall <us@starfall.systems>2020-07-01 16:04:26 -0500
commit9b8ab85007cc9b527ba8c59a3624731cd8e46ffe (patch)
tree28cf79b4c73ec6d328136ea04a63321862096e5a /app/lib/response_with_limit.rb
parent6ec1f4c99e51a13ca56d639b85168dfb874daf75 (diff)
parent665eb1affe7ba765af476e6f00096aad3af70735 (diff)
Merge branch 'glitch' into main
Diffstat (limited to 'app/lib/response_with_limit.rb')
-rw-r--r--app/lib/response_with_limit.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/lib/response_with_limit.rb b/app/lib/response_with_limit.rb
new file mode 100644
index 000000000..2cc17bc5f
--- /dev/null
+++ b/app/lib/response_with_limit.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+class ResponseWithLimit
+  def initialize(response, limit)
+    @response = response
+    @limit = limit
+  end
+
+  attr_reader :response, :limit
+end