Sha256: 830753b1ea551c12dd6ae42263aa63a2425a6db630833d8cc55c025666386135

Contents?: true

Size: 344 Bytes

Versions: 6

Compression:

Stored size: 344 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'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
loquor-0.3.0 lib/loquor/http_action.rb
loquor-0.2.0 lib/loquor/http_action.rb
loquor-0.1.2 lib/loquor/http_action.rb
loquor-0.1.1 lib/loquor/http_action.rb
loquor-0.1.0 lib/loquor/http_action.rb
loquor-0.0.2 lib/loquor/http_action.rb