Method: AfTalk::FetchMessagesResponse#initialize
- Defined in:
- lib/aftalk/responses/fetch_messages_response.rb
#initialize(response) ⇒ FetchMessagesResponse
Returns a new instance of FetchMessagesResponse.
5 6 7 8 9 10 11 12 |
# File 'lib/aftalk/responses/fetch_messages_response.rb', line 5 def initialize(response) super(response) if success? = body_data[:Messages].map do || AfTalk::SmsMessageInfo.new() end end end |