Sha256: 09150fe900d2176c92876c644e1636d563f622ab5eb2b74748a90015e61b7366

Contents?: true

Size: 334 Bytes

Versions: 7

Compression:

Stored size: 334 Bytes

Contents

module Loquor
  class Client
    attr_reader :config

    def initialize
      @config = Configuration.new
    end

    def get(url)
      deps = {config: @config}
      HttpAction::Get.get(url, deps)
    end

    def post(url, payload)
      deps = {config: @config}
      HttpAction::Post.post(url, payload, deps)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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