app/controllers/anoubis/output/delete.rb
##
# Generates hash representation of output class
# @return [Hash] hash representation of all data
Generates hash representation of output class
Generates hash representation of output class
def to_h
        result = super.to_h
        result[:id] = self.id if self.id
        result[:errors] = self.errors if self.errors.length > 0
        result
      end
def to_h result = super . to_h result [ :id ] = self . id if self . id result [ :errors ] = self . errors if self . errors . length > 0 result end
Generates hash representation of output class
Generates hash representation of output class
hash representation of all data
hash representation of all data
Hash