class MessageQuickly::Messaging::Recipient
Attributes
phone_number[RW]
Public Instance Methods
to_hash()
click to toggle source
# File lib/message_quickly/messaging/recipient.rb, line 7 def to_hash if id.present? { id: id } else { phone_number: phone_number } end end