Class: Unresponsys::Member::Events

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

Instance Method Summary collapse

Constructor Details

#initialize(member) ⇒ Events

Returns a new instance of Events.



71
72
73
# File 'lib/unresponsys/member.rb', line 71

def initialize(member)
  @member = member
end

Instance Method Details

#new(event, properties = {}) ⇒ Object



75
76
77
# File 'lib/unresponsys/member.rb', line 75

def new(event, properties = {})
  Event.new(member: @member, event: event, properties: properties)
end