Class: Stealth::Services::BaseClient

Inherits:
Object
  • Object
show all
Defined in:
lib/stealth/services/base_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#replyObject (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

#transmitObject



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