Module: SyncwiseApi::Mixins::RequestSigner

Defined in:
lib/syncwise_api/mixins/request_signer.rb

Instance Method Summary collapse

Instance Method Details

#signObject



5
6
7
8
9
10
11
12
13
# File 'lib/syncwise_api/mixins/request_signer.rb', line 5

def sign
  if !self.instance_variable_defined?(:@params)
    fail SyncwiseApi::Errors::MissingInstanceVariable.new(:@request, SyncwiseApi::Mixins::RequestSigner, self)
  elsif !self.instance_variable_defined?(:@header)
    fail SyncwiseApi::Errors::MissingInstanceVariable.new(:@header, SyncwiseApi::Mixins::RequestSigner, self)
  else

  end
end