Class: SML::PublicClose::Request
- Inherits:
-
Object
- Object
- SML::PublicClose::Request
- Defined in:
- lib/ruby-sml/sml-publicclose.rb
Instance Attribute Summary collapse
-
#global_signature ⇒ Object
Returns the value of attribute global_signature.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(global_signature) ⇒ Request
constructor
A new instance of Request.
- #to_a ⇒ Object
Constructor Details
#initialize(global_signature) ⇒ Request
Returns a new instance of Request.
9 10 11 |
# File 'lib/ruby-sml/sml-publicclose.rb', line 9 def initialize(global_signature) @global_signature = global_signature end |
Instance Attribute Details
#global_signature ⇒ Object
Returns the value of attribute global_signature.
7 8 9 |
# File 'lib/ruby-sml/sml-publicclose.rb', line 7 def global_signature @global_signature end |
Class Method Details
.construct(array_rep) ⇒ Object
13 14 15 16 |
# File 'lib/ruby-sml/sml-publicclose.rb', line 13 def self.construct(array_rep) return nil if array_rep.nil? return SML::PublicClose::Request.new(array_rep.shift) end |
.pconstruct(o = {}) ⇒ Object
18 19 20 |
# File 'lib/ruby-sml/sml-publicclose.rb', line 18 def self.pconstruct(o={}) return SML::PublicClose::Request.new(o[:global_signature]) end |
Instance Method Details
#to_a ⇒ Object
22 23 24 |
# File 'lib/ruby-sml/sml-publicclose.rb', line 22 def to_a return [] << global_signature end |