Class: IceJade::ClientBase

Inherits:
Object
  • Object
show all
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

Quantum::Client

Instance Method Summary collapse

Instance Method Details

#send_file(file_id, **opts) ⇒ Object

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/ice_jade/client_base.rb', line 7

def send_text(content, **opts)
  raise NotImplementedError
end