Class: AdCenterWrapper::Segment
- Inherits:
-
Object
- Object
- AdCenterWrapper::Segment
- Defined in:
- lib/adcenter_wrapper_entities.rb
Overview
https://adcenter.microsoft.com/v7Segment
id - SOAP::SOAPLong
name - SOAP::SOAPString
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id = nil, name = nil) ⇒ Segment
constructor
A new instance of Segment.
Constructor Details
#initialize(id = nil, name = nil) ⇒ Segment
Returns a new instance of Segment.
267 268 269 270 |
# File 'lib/adcenter_wrapper_entities.rb', line 267 def initialize(id = nil, name = nil) @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
264 265 266 |
# File 'lib/adcenter_wrapper_entities.rb', line 264 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
265 266 267 |
# File 'lib/adcenter_wrapper_entities.rb', line 265 def name @name end |