Exception: YSM::UpgradeService::ApiFault

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ysm4r/v1/UpgradeService.rb,
lib/ysm4r/v2/UpgradeService.rb,
lib/ysm4r/v1/sandbox/UpgradeService.rb,
lib/ysm4r/v2/sandbox/UpgradeService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, message = nil) ⇒ ApiFault

Returns a new instance of ApiFault.



11
12
13
14
# File 'lib/ysm4r/v1/UpgradeService.rb', line 11

def initialize(code = nil, message = nil)
  @code = code
  @message = message
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



8
9
10
# File 'lib/ysm4r/v1/UpgradeService.rb', line 8

def code
  @code
end

#messageObject

Returns the value of attribute message.



9
10
11
# File 'lib/ysm4r/v1/UpgradeService.rb', line 9

def message
  @message
end