Class: SmartyStreets::SigningSender
- Inherits:
-
Object
- Object
- SmartyStreets::SigningSender
- Defined in:
- lib/smartystreets_ruby_sdk/signing_sender.rb
Instance Method Summary collapse
-
#initialize(signer, inner) ⇒ SigningSender
constructor
A new instance of SigningSender.
- #send(request) ⇒ Object
Constructor Details
#initialize(signer, inner) ⇒ SigningSender
Returns a new instance of SigningSender.
3 4 5 6 |
# File 'lib/smartystreets_ruby_sdk/signing_sender.rb', line 3 def initialize(signer, inner) @signer = signer @inner = inner end |
Instance Method Details
#send(request) ⇒ Object
8 9 10 11 |
# File 'lib/smartystreets_ruby_sdk/signing_sender.rb', line 8 def send(request) @signer.sign(request) @inner.send(request) end |