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