Exception: FileTurn::FileTurnException

Inherits:
Exception
  • Object
show all
Defined in:
lib/fileturn/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resp) ⇒ FileTurnException

Returns a new instance of FileTurnException.



5
6
7
# File 'lib/fileturn/exceptions.rb', line 5

def initialize(resp)
  @resp = resp
end

Instance Attribute Details

#respObject (readonly)

Returns the value of attribute resp.



4
5
6
# File 'lib/fileturn/exceptions.rb', line 4

def resp
  @resp
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/fileturn/exceptions.rb', line 9

def to_s
  resp
end