Class: CommandTower::Identity::Phone::Normalizer::Normalized

Inherits:
Data
  • Object
show all
Defined in:
app/services/command_tower/identity/phone/normalizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



15
16
17
# File 'app/services/command_tower/identity/phone/normalizer.rb', line 15

def message
  @message
end

#normalizedObject (readonly)

Returns the value of attribute normalized

Returns:

  • (Object)

    the current value of normalized



15
16
17
# File 'app/services/command_tower/identity/phone/normalizer.rb', line 15

def normalized
  @normalized
end

Instance Method Details

#failure?Boolean

Returns:

  • (Boolean)


18
# File 'app/services/command_tower/identity/phone/normalizer.rb', line 18

def failure? = !success?

#success?Boolean

Returns:

  • (Boolean)


16
# File 'app/services/command_tower/identity/phone/normalizer.rb', line 16

def success? = message.nil?