Class: TWW::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/tww/client.rb

Direct Known Subclasses

REST, Testing

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Client

Returns a new instance of Client.



9
10
11
# File 'lib/tww/client.rb', line 9

def initialize(config)
  @config = config
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



7
8
9
# File 'lib/tww/client.rb', line 7

def config
  @config
end

Instance Method Details

#deliver(_phone, _message, _extras = {}) ⇒ Object



13
14
15
# File 'lib/tww/client.rb', line 13

def deliver(_phone, _message, _extras = {})
  raise 'Need to be implemented'
end