Class: Synaptic4r::Versions
Instance Attribute Summary
Attributes inherited from Result
#headers, #http_request, #payload, #result, #sign, #url
Instance Method Summary collapse
-
#initialize(args) ⇒ Versions
constructor
.….….….….….….….….….….….….….….….….….….….….….….….….……
-
#oids ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….……
-
#print ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….……
Methods inherited from Result
#extract_header, #method_missing, #stringify_array, #stringify_hash
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Synaptic4r::Result
Instance Method Details
#oids ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….……
199 200 201 |
# File 'lib/synaptic4r/result.rb', line 199 def oids @versions.elements.to_a('ObjectID').map{|o| o.text} end |
#print ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….……
193 194 195 196 |
# File 'lib/synaptic4r/result.rb', line 193 def print poids = oids poids.inject("") {|r,o| r += " #{o}\n"} unless poids.empty? end |