Sha256: 29a5a94ebb4c2071151344c3397a9ad210540a8d8a794f1defc51f56a56efe66

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 Bytes

Contents

module Loquor
  class HttpAction
    def initialize(url, deps)
      @url = url
      @config = deps[:config]
    end

    def signed_request
      @config.logger.info "Signing request."
      ApiAuth.sign!(request, @config.access_id, @config.secret_key)
    end
  end
end

require 'loquor/http_actions/get'
require 'loquor/http_actions/post'
require 'loquor/http_actions/put'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
loquor-0.5.3 lib/loquor/http_action.rb
loquor-0.5.2 lib/loquor/http_action.rb
loquor-0.5.1 lib/loquor/http_action.rb
loquor-0.5.0 lib/loquor/http_action.rb
loquor-0.4.0 lib/loquor/http_action.rb