Class: Esa::ApiMethods::PathStringIO

Inherits:
StringIO
  • Object
show all
Defined in:
lib/esa/api_methods.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ PathStringIO

Returns a new instance of PathStringIO.



112
113
114
115
# File 'lib/esa/api_methods.rb', line 112

def initialize(*args)
  super(*args[1..-1])
  @path = args[0]
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



110
111
112
# File 'lib/esa/api_methods.rb', line 110

def path
  @path
end