Class: Synaptic4r::ShareableUrl

Inherits:
Result
  • Object
show all
Defined in:
lib/synaptic4r/result.rb

Instance Attribute Summary

Attributes inherited from Result

#headers, #http_request, #payload, #result, #sign, #url

Instance Method Summary collapse

Methods inherited from Result

#extract_header, #method_missing, #stringify_array, #stringify_hash

Constructor Details

#initialize(args) ⇒ ShareableUrl

.….….….….….….….….….….….….….….….….….….….….….….….….……



351
352
353
354
# File 'lib/synaptic4r/result.rb', line 351

def initialize(args)
  super
  @url = args[:result]
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Synaptic4r::Result

Instance Method Details

.….….….….….….….….….….….….….….….….….….….….….….….….……



357
358
359
# File 'lib/synaptic4r/result.rb', line 357

def print
  @url
end