Class: YSM::AdService::AdResponse
- Inherits:
-
Object
- Object
- YSM::AdService::AdResponse
- Defined in:
- lib/ysm4r/v1/AdService.rb,
lib/ysm4r/v2/AdService.rb
Overview
http://marketing.ews.yahooapis.com/V2AdResponse
Instance Attribute Summary collapse
-
#ad ⇒ Object
Returns the value of attribute ad.
-
#editorialReasons ⇒ Object
Returns the value of attribute editorialReasons.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#operationSucceeded ⇒ Object
Returns the value of attribute operationSucceeded.
Instance Method Summary collapse
-
#initialize(ad = nil, editorialReasons = nil, errors = nil, operationSucceeded = nil) ⇒ AdResponse
constructor
A new instance of AdResponse.
Constructor Details
#initialize(ad = nil, editorialReasons = nil, errors = nil, operationSucceeded = nil) ⇒ AdResponse
Returns a new instance of AdResponse.
21 22 23 24 25 26 |
# File 'lib/ysm4r/v1/AdService.rb', line 21 def initialize(ad = nil, editorialReasons = nil, errors = nil, operationSucceeded = nil) @ad = ad @editorialReasons = editorialReasons @errors = errors @operationSucceeded = operationSucceeded end |
Instance Attribute Details
#ad ⇒ Object
Returns the value of attribute ad.
16 17 18 |
# File 'lib/ysm4r/v1/AdService.rb', line 16 def ad @ad end |
#editorialReasons ⇒ Object
Returns the value of attribute editorialReasons.
17 18 19 |
# File 'lib/ysm4r/v1/AdService.rb', line 17 def editorialReasons @editorialReasons end |
#errors ⇒ Object
Returns the value of attribute errors.
18 19 20 |
# File 'lib/ysm4r/v1/AdService.rb', line 18 def errors @errors end |
#operationSucceeded ⇒ Object
Returns the value of attribute operationSucceeded.
19 20 21 |
# File 'lib/ysm4r/v1/AdService.rb', line 19 def operationSucceeded @operationSucceeded end |