Method: Outbound.subscribe
- Defined in:
- lib/outbound.rb
.subscribe(user_id, all = false, campaign_ids = nil) ⇒ Object
102 103 104 105 106 107 108 109 |
# File 'lib/outbound.rb', line 102 def Outbound.subscribe user_id, all=false, campaign_ids=nil if @ob == nil res = Result.new Outbound::ERROR_INIT, false @logger.error res.error return res end return @ob.subscription user_id, false, all, campaign_ids end |