Class: MemberReminder::MemberBank::Member

Inherits:
Object
  • Object
show all
Includes:
DingTalk
Defined in:
lib/member_reminder.rb,
lib/member_reminder/member_bank.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from DingTalk

#post_markdown

Instance Attribute Details

#alias_namesObject

Returns the value of attribute alias_names.



16
17
18
# File 'lib/member_reminder/member_bank.rb', line 16

def alias_names
  @alias_names
end

#mobileObject

Returns the value of attribute mobile.



18
19
20
# File 'lib/member_reminder/member_bank.rb', line 18

def mobile
  @mobile
end

#nameObject

Returns the value of attribute name.



15
16
17
# File 'lib/member_reminder/member_bank.rb', line 15

def name
  @name
end

#teamObject

Returns the value of attribute team.



17
18
19
# File 'lib/member_reminder/member_bank.rb', line 17

def team
  @team
end

Instance Method Details

#post(content) ⇒ Object



18
19
20
# File 'lib/member_reminder.rb', line 18

def post(content)
	super team.ding_token, content, [mobile]
end