Sha256: b65e5069b5b2047c3317b8e950c995386cc2f37ea824e2b72f269c4698de0f89
Contents?: true
Size: 752 Bytes
Versions: 2
Compression:
Stored size: 752 Bytes
Contents
module SmsBroker module Client module Response class Success attr_reader :raw, :service, :serialized def initialize(service, response, serialized) @raw = response @service = service @serialized = serialized end def success? true end def to serialized[:to] end def from serialized[:from] end def message_id serialized[:message_id] end end end end end require 'sms_broker/client/response/nexmo_success' require 'sms_broker/client/response/twilio_success' require 'sms_broker/client/response/open_market/send_message_success'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sms_broker-1.0.8 | lib/sms_broker/client/response/success.rb |
sms_broker-1.0.7 | lib/sms_broker/client/response/success.rb |