Class: ASPSMS::Request::SendOriginatorUnlockCode
- Defined in:
- lib/aspsms.rb
Instance Attribute Summary collapse
-
#originator ⇒ Object
Returns the value of attribute originator.
Attributes inherited from Abstract
Instance Method Summary collapse
- #each_element {|REXML::Element.new('Originator').add_text(@cfg.utf8(originator))| ... } ⇒ Object
-
#initialize(cfg) ⇒ SendOriginatorUnlockCode
constructor
A new instance of SendOriginatorUnlockCode.
Methods inherited from Abstract
Constructor Details
#initialize(cfg) ⇒ SendOriginatorUnlockCode
Returns a new instance of SendOriginatorUnlockCode.
226 227 228 229 |
# File 'lib/aspsms.rb', line 226 def initialize(cfg) super(cfg) @originator = @cfg.originator end |
Instance Attribute Details
#originator ⇒ Object
Returns the value of attribute originator.
225 226 227 |
# File 'lib/aspsms.rb', line 225 def originator @originator end |
Instance Method Details
#each_element {|REXML::Element.new('Originator').add_text(@cfg.utf8(originator))| ... } ⇒ Object
231 232 233 |
# File 'lib/aspsms.rb', line 231 def each_element yield REXML::Element.new('Originator').add_text(@cfg.utf8(originator)) end |