Exception: YSM::LocationService::ApiFault
- Inherits:
-
StandardError
- Object
- StandardError
- YSM::LocationService::ApiFault
- Defined in:
- lib/ysm4r/v1/LocationService.rb,
lib/ysm4r/v2/LocationService.rb,
lib/ysm4r/v1/sandbox/LocationService.rb,
lib/ysm4r/v2/sandbox/LocationService.rb
Overview
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code = nil, message = nil) ⇒ ApiFault
constructor
A new instance of ApiFault.
Constructor Details
#initialize(code = nil, message = nil) ⇒ ApiFault
Returns a new instance of ApiFault.
11 12 13 14 |
# File 'lib/ysm4r/v1/LocationService.rb', line 11 def initialize(code = nil, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
8 9 10 |
# File 'lib/ysm4r/v1/LocationService.rb', line 8 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
9 10 11 |
# File 'lib/ysm4r/v1/LocationService.rb', line 9 def @message end |