class Xcodeproj::XCScheme::SendEmailActionContent


‘Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.SendEmailAction’ of a .xcscheme XML file
This class wraps a ‘ActionContent’ node of type

def attach_log_to_email?

Returns:
  • (Bool) -
def attach_log_to_email?
  string_to_bool(@xml_element.attributes['attachLogToEmail'])
end

def email_body

Returns:
  • (String) -
def email_body
  @xml_element.attributes['emailBody']
end

def email_body=(value)

Parameters:
  • value (String) --
def email_body=(value)
  @xml_element.attributes['emailBody'] = value
end

def email_recipient

Returns:
  • (String) -
def email_recipient
  @xml_element.attributes['emailRecipient']
end

def email_recipient=(value)

Parameters:
  • value (String) --
def email_recipient=(value)
  @xml_element.attributes['emailRecipient'] = value
end

def email_subject

Returns:
  • (String) -
def email_subject
  @xml_element.attributes['emailSubject']
end

def email_subject=(value)

Parameters:
  • value (String) --
def email_subject=(value)
  @xml_element.attributes['emailSubject'] = value
end

def initialize(node = nil)

Parameters:
  • node (REXML::Element) --
def initialize(node = nil)
  create_xml_element_with_fallback(node, 'ActionContent') do
    self.title = 'Send Email'
    # For some reason this is not visible in Xcode's UI and it's always set to 'NO'
    # couldn't find much documentation on it so it might be safer to keep it read only
    @xml_element.attributes['attachLogToEmail'] = 'NO'
  end
end

def title

Returns:
  • (String) -
def title
  @xml_element.attributes['title']
end

def title=(value)

Parameters:
  • value (String) --
def title=(value)
  @xml_element.attributes['title'] = value
end