Class: Mass::Unsubscribe
- Inherits:
-
BlackStack::Base
- Object
- BlackStack::Base
- Mass::Unsubscribe
- Defined in:
- lib/base-line/unsubscribe.rb
Class Method Summary collapse
-
.object_name ⇒ Object
attr_accessor :type, :profile, :lead, :company, :profile_type.
Instance Method Summary collapse
-
#initialize(h) ⇒ Unsubscribe
constructor
A new instance of Unsubscribe.
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_name ⇒ Object
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 |