Files
x-stake/app/graphql/inputs/predicate_input.rb
2021-08-28 00:36:12 -03:00

10 lines
307 B
Ruby

# frozen_string_literal: true
module Inputs
class PredicateInput < Types::BaseInputObject
# https://github.com/activerecord-hackery/ransack#search-matchers
# add others if necessary
argument :eq, String, "Equal", required: false
argument :lt, Float, "Less than", required: false
end
end