Class: Stealth::Services::BaseClient
- Inherits:
-
Object
- Object
- Stealth::Services::BaseClient
- Defined in:
- lib/stealth/services/base_client.rb
Instance Attribute Summary collapse
-
#reply ⇒ Object
readonly
Returns the value of attribute reply.
Instance Method Summary collapse
-
#initialize(reply:) ⇒ BaseClient
constructor
A new instance of BaseClient.
- #transmit ⇒ Object
Constructor Details
#initialize(reply:) ⇒ BaseClient
Returns a new instance of BaseClient.
15 16 17 |
# File 'lib/stealth/services/base_client.rb', line 15 def initialize(reply:) @reply = reply end |
Instance Attribute Details
#reply ⇒ Object (readonly)
Returns the value of attribute reply.
13 14 15 |
# File 'lib/stealth/services/base_client.rb', line 13 def reply @reply end |
Instance Method Details
#transmit ⇒ Object
19 20 21 |
# File 'lib/stealth/services/base_client.rb', line 19 def transmit raise(Stealth::Errors::ServiceImpaired, "Service implementation does not implement 'transmit'") end |