Class: Mass::Unsubscribe

Inherits:
BlackStack::Base
  • Object
show all
Defined in:
lib/base-line/unsubscribe.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(h) ⇒ Unsubscribe

Returns a new instance of Unsubscribe.



9
10
11
12
# File 'lib/base-line/unsubscribe.rb', line 9

def initialize(h)
    super(h)
    self.id_outreach = h['profile_type'] if h['profile_type']
end

Class Method Details

.object_nameObject

attr_accessor :type, :profile, :lead, :company, :profile_type



5
6
7
# File 'lib/base-line/unsubscribe.rb', line 5

def self.object_name
    'unsubscribe'
end