Sha256: 677cf1b129dac317e797f3198956523e81c55f837baa0eb18b4f11b5e7e15a1e
Contents?: true
Size: 590 Bytes
Versions: 1
Compression:
Stored size: 590 Bytes
Contents
module ActionTexter module Messagebird class Response class Rcipients attr_reader :total_count, :total_sent_count, :total_delivered_count, :items def initiliazer(recipients) @recipients = recipients @total_count = recipients[:totalCount] @total_sent_count = recipients[:totalSentCount] @total_count = recipients[:totalDeliveredCount] end def items @recipients[:items].map do |i| ActionTexter::Messagebird::Recipient.new(item(i)) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
action-texter-0.2.1.pre | lib/action_texter/provider/messagebird/response_recipients.rb |