lib/mblox/sms.rb in mblox-0.5.0 vs lib/mblox/sms.rb in mblox-0.5.1

- old
+ new

@@ -12,10 +12,10 @@ class BatchIdOutOfRangeError < ::ArgumentError; end class InvalidSenderIdError < ::ArgumentError; end class MessageTooLongError < ::ArgumentError; end MAX_LENGTH = 160 MAX_SECTION_LENGTH = MAX_LENGTH - "(MSG XXX/XXX): ".size - LEGAL_CHARACTERS = "~\`!\"#\$\%&'\(\)*+,-.\/:;<=>?@_£¤¥§¿i¡ÄÅÆÇÉÑÖØÜßâáäåæèéìñòöøóùüú\n\r\tí " + LEGAL_CHARACTERS = "~\`!\"#\$\%&'\(\)*+,-.\/:;<=>?@_£¤¥§¿i¡ÄÅÆÇÉÑÖØÜßâáäåæçèéìíñòöøóùüú\n\r\t " ILLEGAL_CHARACTERS = /([^a-zA-Z0-9#{LEGAL_CHARACTERS}\\])/ attr_reader :phone, :message ON_MESSAGE_TOO_LONG_HANDLER = {