Class: IceJade::ClientBase
- Inherits:
-
Object
- Object
- IceJade::ClientBase
- Defined in:
- lib/ice_jade/client_base.rb
Overview
Shared abstract client for all IM adapters. Each IM adapter inherits from this base and implements its own protocol.
Direct Known Subclasses
Instance Method Summary collapse
- #send_file(file_id, **opts) ⇒ Object
- #send_image(file_id, **opts) ⇒ Object
- #send_news(title, url, **opts) ⇒ Object
- #send_text(content, **opts) ⇒ Object
Instance Method Details
#send_file(file_id, **opts) ⇒ Object
15 16 17 |
# File 'lib/ice_jade/client_base.rb', line 15 def send_file(file_id, **opts) raise NotImplementedError end |
#send_image(file_id, **opts) ⇒ Object
11 12 13 |
# File 'lib/ice_jade/client_base.rb', line 11 def send_image(file_id, **opts) raise NotImplementedError end |
#send_news(title, url, **opts) ⇒ Object
19 20 21 |
# File 'lib/ice_jade/client_base.rb', line 19 def send_news(title, url, **opts) raise NotImplementedError end |
#send_text(content, **opts) ⇒ Object
7 8 9 |
# File 'lib/ice_jade/client_base.rb', line 7 def send_text(content, **opts) raise NotImplementedError end |