bin/check-all-gpg-keys-for-expiry.rb
def generate_json_message(note, status)
    hash = {
      name: self.class.name,
      output: (note.nil? ? 'Unknown, Empty Message?' : note),
      status: status
    }
    JSON.generate(hash)
  end
# Return a generated JSON message using note and status
Return a generated JSON message using note and status
Return a generated JSON message using note and status
def generate_json_message(note, status)
    hash = {
      name: self.class.name,
      output: (note.nil? ? 'Unknown, Empty Message?' : note),
      status: status
    }
    JSON.generate(hash)
  end
def generate_json_message ( note , status ) hash = { name : self . class . name , output : ( note . nil? ? 'Unknown, Empty Message?' : note ) , status : status } JSON . generate ( hash ) end
Return a generated JSON message using note and status
Return a generated JSON message using note and status
note
status