Class: MemberReminder::MemberBank::Member
- Inherits:
-
Object
- Object
- MemberReminder::MemberBank::Member
- Includes:
- DingTalk
- Defined in:
- lib/member_reminder.rb,
lib/member_reminder/member_bank.rb
Instance Attribute Summary collapse
-
#alias_names ⇒ Object
Returns the value of attribute alias_names.
-
#mobile ⇒ Object
Returns the value of attribute mobile.
-
#name ⇒ Object
Returns the value of attribute name.
-
#team ⇒ Object
Returns the value of attribute team.
Instance Method Summary collapse
Methods included from DingTalk
Instance Attribute Details
#alias_names ⇒ Object
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 |
#mobile ⇒ Object
Returns the value of attribute mobile.
18 19 20 |
# File 'lib/member_reminder/member_bank.rb', line 18 def mobile @mobile end |
#name ⇒ Object
Returns the value of attribute name.
15 16 17 |
# File 'lib/member_reminder/member_bank.rb', line 15 def name @name end |
#team ⇒ Object
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 |