Exception: OneDrive::OneDriveExceptions

Inherits:
StandardError
  • Object
show all
Defined in:
lib/one_drive.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = "OneDriveExceptions", detail = "") ⇒ OneDriveExceptions

Returns a new instance of OneDriveExceptions.



6
7
8
9
# File 'lib/one_drive.rb', line 6

def initialize(message="OneDriveExceptions", detail="")
  @detail = detail
  super(message)
end

Instance Attribute Details

#detailObject (readonly)

Returns the value of attribute detail.



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

def detail
  @detail
end