Class: YSM::AdService::Error
- Inherits:
-
Object
- Object
- YSM::AdService::Error
- Defined in:
- lib/ysm4r/v1/AdService.rb,
lib/ysm4r/v2/AdService.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) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code = nil, message = nil) ⇒ Error
Returns a new instance of Error.
108 109 110 111 |
# File 'lib/ysm4r/v1/AdService.rb', line 108 def initialize(code = nil, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
105 106 107 |
# File 'lib/ysm4r/v1/AdService.rb', line 105 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
106 107 108 |
# File 'lib/ysm4r/v1/AdService.rb', line 106 def @message end |