Class: YSM::AdGroupService::Error
- Inherits:
-
Object
- Object
- YSM::AdGroupService::Error
- Defined in:
- lib/ysm4r/v1/AdGroupService.rb,
lib/ysm4r/v2/AdGroupService.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.
69 70 71 72 |
# File 'lib/ysm4r/v1/AdGroupService.rb', line 69 def initialize(code = nil, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
66 67 68 |
# File 'lib/ysm4r/v1/AdGroupService.rb', line 66 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
67 68 69 |
# File 'lib/ysm4r/v1/AdGroupService.rb', line 67 def @message end |