# frozen_string_literal: true module OpenRecycling module Documents class Documents < OpenRecycling::Resource only :all, :find def initialize(base_url: nil, jwt_token: nil) super( root_node_singular: "document", root_node_plural: "documents", api_url: "#{base_url}/documents", jwt_token: jwt_token ) end end end end