Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/resources/card_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class CardResource < ApplicationResource # rubocop:disable Metrics/ClassLength
primary_endpoint '/cards', %i[index show]

self.default_page_size = 1000
self.max_page_size = 10_000

attribute :id, :string
attribute :stripped_title, :string
Expand Down
1 change: 1 addition & 0 deletions app/resources/printing_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
class PrintingResource < ApplicationResource # rubocop:disable Metrics/ClassLength
primary_endpoint '/printings', %i[index show]
self.default_page_size = 1000
self.max_page_size = 10_000

attribute :id, :string
attribute :card_id, :string
Expand Down