<commit_before>module NeonRAW
  module Objects
    class Thing
      # Methods for things that can be saved.
      module Saveable
        # Saves the thing.
        # @!method save(opts = {})
        # @param opts [Hash] Stores optional parameters.
        # @option opts :category [String] The category you want to save to.
        #   @note Only works if you have Reddit gold.
        def save(opts = {})
          params[:category] = opts[:category] if opts[:category]
          params[:id] = name
          @client.request_data('/api/save', :post, params)
        end

        # Unsaves the thing.
        # @!method unsave
        def unsave
          params[:id] = name
          @client.request_data('/api/unsave', :post, params)
        end
      end
    end
  end
end<commit_msg>fixed docs<commit_after>module NeonRAW
  module Objects
    class Thing
      # Methods for things that can be saved.
      module Saveable
        # Saves the thing.
        # @!method save(opts = {})
        # @param opts [Hash] Stores optional parameters.
        # @option opts :category [String] The category you want to save to
        #   (Reddit Gold Feature).
        def save(opts = {})
          params[:category] = opts[:category] if opts[:category]
          params[:id] = name
          @client.request_data('/api/save', :post, params)
        end

        # Unsaves the thing.
        # @!method unsave
        def unsave
          params[:id] = name
          @client.request_data('/api/unsave', :post, params)
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.10160771704180065, 'fraction_numerical': 0.0, 'mean_word_length': 1.8921933085501859, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7304224', 'n_tokens_mistral': 444, 'n_tokens_neox': 434, 'n_words': 143}