Class: TWW::Client
- Inherits:
-
Object
- Object
- TWW::Client
- Defined in:
- lib/tww/client.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #deliver(_phone, _message, _extras = {}) ⇒ Object
-
#initialize(config) ⇒ Client
constructor
A new instance of Client.
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
#config ⇒ Object (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, , _extras = {}) raise 'Need to be implemented' end |