Class: AdCenterWrapper::Opportunity
- Inherits:
-
Object
- Object
- AdCenterWrapper::Opportunity
- Defined in:
- lib/OptimizerService.rb
Overview
expirationDate - SOAP::SOAPDateTime
opportunityKey - SOAP::SOAPString
Direct Known Subclasses
Instance Attribute Summary collapse
-
#expirationDate ⇒ Object
Returns the value of attribute expirationDate.
-
#opportunityKey ⇒ Object
Returns the value of attribute opportunityKey.
Instance Method Summary collapse
-
#initialize(expirationDate = nil, opportunityKey = nil) ⇒ Opportunity
constructor
A new instance of Opportunity.
Constructor Details
permalink #initialize(expirationDate = nil, opportunityKey = nil) ⇒ Opportunity
Returns a new instance of Opportunity.
66 67 68 69 |
# File 'lib/OptimizerService.rb', line 66 def initialize(expirationDate = nil, opportunityKey = nil) @expirationDate = expirationDate @opportunityKey = opportunityKey end |
Instance Attribute Details
permalink #expirationDate ⇒ Object
Returns the value of attribute expirationDate.
63 64 65 |
# File 'lib/OptimizerService.rb', line 63 def expirationDate @expirationDate end |
permalink #opportunityKey ⇒ Object
Returns the value of attribute opportunityKey.
64 65 66 |
# File 'lib/OptimizerService.rb', line 64 def opportunityKey @opportunityKey end |