Sha256: ce51d9b2a1e81aacc09060a785fd7964e8ee5717462c8ba35978902fc7a20029

Contents?: true

Size: 205 Bytes

Versions: 5

Compression:

Stored size: 205 Bytes

Contents

module Loquor
  class ApiCall::Create < ApiCall

    def initialize(path, payload)
      super(path)
      @payload = payload
    end

    def execute
      Loquor.post(@path, @payload)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
loquor-0.2.0 lib/loquor/api_calls/create.rb
loquor-0.1.2 lib/loquor/api_calls/create.rb
loquor-0.1.1 lib/loquor/api_calls/create.rb
loquor-0.1.0 lib/loquor/api_calls/create.rb
loquor-0.0.2 lib/loquor/api_calls/create.rb