Change MAX_BODY_LENGTH of message in telapi-ruby -


i'm using telapi-ruby send sms, following:

def self.send_demo_sms(phone, message)     telapi::message.create(phone, from_num, actionview::base.full_sanitizer.sanitize(message)) end 

i got error body must between 0 , 160 characters, check message class.

do need override constant avoid error, how can ? or

what's solution send message has 230 character case ?

overriding in gem pointless if api has character limit. why don't make 2 requests?


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -