Class: YSM::AdService::AddAd

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/AdService.rb,
lib/ysm4r/v2/AdService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ad = nil) ⇒ AddAd

Returns a new instance of AddAd.



402
403
404
# File 'lib/ysm4r/v1/AdService.rb', line 402

def initialize(ad = nil)
  @ad = ad
end

Instance Attribute Details

#adObject

Returns the value of attribute ad.



400
401
402
# File 'lib/ysm4r/v1/AdService.rb', line 400

def ad
  @ad
end