diff options
Diffstat (limited to 'app/graphql/resolvers/data_transfer/data_transfer_arguments.rb')
-rw-r--r-- | app/graphql/resolvers/data_transfer/data_transfer_arguments.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/graphql/resolvers/data_transfer/data_transfer_arguments.rb b/app/graphql/resolvers/data_transfer/data_transfer_arguments.rb new file mode 100644 index 00000000000..da75a78b2ac --- /dev/null +++ b/app/graphql/resolvers/data_transfer/data_transfer_arguments.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module Resolvers + module DataTransfer + module DataTransferArguments + extend ActiveSupport::Concern + + included do + argument :from, Types::DateType, + description: + 'Retain egress data for one year. Data for the current month will increase dynamically as egress occurs.', + required: false + argument :to, Types::DateType, + description: 'End date for the data.', + required: false + end + end + end +end |