Method: Lowdown::Notification#formatted_id

Defined in:
lib/lowdown/notification.rb

#formatted_idString

Formats the #id in the format required by the APN service, which is in groups of 8-4-4-12. It is padded with leading zeroes.

Returns:

  • (String)

    the formatted ID.



82
83
84
# File 'lib/lowdown/notification.rb', line 82

def formatted_id
  @formatted_id ||= self.class.format_id(id)
end