Class: Synaptic4r::SystemMetadata
- Defined in:
- lib/synaptic4r/result.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
.….….….….….….….….….….….….….….….….….….….….….….….….……
Attributes inherited from Result
#headers, #http_request, #payload, #result, #sign, #url
Instance Method Summary collapse
-
#initialize(args) ⇒ SystemMetadata
constructor
.….….….….….….….….….….….….….….….….….….….….….….….….……
-
#print ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….……
Methods inherited from Result
#extract_header, #method_missing, #stringify_array, #stringify_hash
Constructor Details
#initialize(args) ⇒ SystemMetadata
.….….….….….….….….….….….….….….….….….….….….….….….….……
120 121 122 123 124 125 |
# File 'lib/synaptic4r/result.rb', line 120 def initialize(args) super if args[:result] @metadata = extract_header(args, :x_emc_meta) end end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Synaptic4r::Result
Instance Attribute Details
#metadata ⇒ Object (readonly)
.….….….….….….….….….….….….….….….….….….….….….….….….……
117 118 119 |
# File 'lib/synaptic4r/result.rb', line 117 def @metadata end |
Instance Method Details
#print ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….……
128 129 130 |
# File 'lib/synaptic4r/result.rb', line 128 def print stringify_hash(@metadata) end |