Class: Smshelper::Api::Base
- Inherits:
-
Object
- Object
- Smshelper::Api::Base
- Includes:
- APISmith::Client
- Defined in:
- lib/smshelper/api/base.rb
Direct Known Subclasses
Aql, Bulksms, Clickatell, Esendex, Mediaburst, Mycoolsms, Nexmo, Routomessaging, Smstrade, Smswarehouse, Textmagic, Traitel, Txtnation, Vianett, Webtext
Instance Attribute Summary collapse
-
#extra_options ⇒ Object
Returns the value of attribute extra_options.
-
#sent_message_ids ⇒ Object
readonly
Returns the value of attribute sent_message_ids.
-
#sent_message_statuses ⇒ Object
readonly
Returns the value of attribute sent_message_statuses.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(*args) ⇒ Base
Returns a new instance of Base.
9 10 11 12 13 14 15 |
# File 'lib/smshelper/api/base.rb', line 9 def initialize(*args) , = Array.new, Hash.new @response_code = ResponseCodes.new = (args.empty? ? {} : args.shift) @uuid = UUID.new class_factory 'DeliveryReport', 'InboundMessage', 'UnknownReply', 'HlrReport' end |
Instance Attribute Details
#extra_options ⇒ Object
Returns the value of attribute extra_options.
8 9 10 |
# File 'lib/smshelper/api/base.rb', line 8 def end |
#sent_message_ids ⇒ Object (readonly)
Returns the value of attribute sent_message_ids.
7 8 9 |
# File 'lib/smshelper/api/base.rb', line 7 def end |
#sent_message_statuses ⇒ Object (readonly)
Returns the value of attribute sent_message_statuses.
7 8 9 |
# File 'lib/smshelper/api/base.rb', line 7 def end |