Class: Mypeople::Member
- Inherits:
-
Requirement
- Object
- Requirement
- Mypeople::Member
- Defined in:
- lib/mypeople/member.rb
Class Method Summary collapse
Methods inherited from Requirement
Class Method Details
.find(buddy_id) ⇒ Object
4 5 6 |
# File 'lib/mypeople/member.rb', line 4 def find(buddy_id) client.buddy_profile(buddy_id) end |
.send(buddy_id, content) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/mypeople/member.rb', line 8 def send(buddy_id, content) if content.is_a?(String) # string msg client.(buddy_id, content) else # file msg client.(buddy_id, "", content) end end |