Exception: YSM::BidInformationService::ApiFault

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ApiFault.



22
23
24
25
# File 'lib/ysm4r/v1/BidInformationService.rb', line 22

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

Instance Attribute Details

#codeObject

Returns the value of attribute code.



19
20
21
# File 'lib/ysm4r/v1/BidInformationService.rb', line 19

def code
  @code
end

#messageObject

Returns the value of attribute message.



20
21
22
# File 'lib/ysm4r/v1/BidInformationService.rb', line 20

def message
  @message
end