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.
229 230 231 232 |
# File 'lib/aspsms.rb', line 229 def initialize(cfg) super(cfg) @originator = @cfg.originator end |
Instance Attribute Details
#originator ⇒ Object
Returns the value of attribute originator.
228 229 230 |
# File 'lib/aspsms.rb', line 228 def originator @originator end |
Instance Method Details
#each_element {|REXML::Element.new('Originator').add_text(@cfg.utf8(originator))| ... } ⇒ Object
234 235 236 |
# File 'lib/aspsms.rb', line 234 def each_element yield REXML::Element.new('Originator').add_text(@cfg.utf8(originator)) end |