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.



189
190
191
192
# File 'lib/esa/api_methods.rb', line 189

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

Instance Attribute Details

#pathObject

Returns the value of attribute path.



187
188
189
# File 'lib/esa/api_methods.rb', line 187

def path
  @path
end