Class: AdCenterWrapper::Dimension

Inherits:
Object
  • Object
show all
Defined in:
lib/adcenter_wrapper_entities.rb

Overview

https://adcenter.microsoft.com/v7Dimension

height - SOAP::SOAPInt
width - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(height = nil, width = nil) ⇒ Dimension

Returns a new instance of Dimension.



741
742
743
744
# File 'lib/adcenter_wrapper_entities.rb', line 741

def initialize(height = nil, width = nil)
  @height = height
  @width = width
end

Instance Attribute Details

#heightObject

Returns the value of attribute height.



738
739
740
# File 'lib/adcenter_wrapper_entities.rb', line 738

def height
  @height
end

#widthObject

Returns the value of attribute width.



739
740
741
# File 'lib/adcenter_wrapper_entities.rb', line 739

def width
  @width
end