Sha256: 2d2ff48c2a9e609d5a3d09ca3e66d508d8cd6f3108d6704b0ac7a1af68892b3a

Contents?: true

Size: 188 Bytes

Versions: 3

Compression:

Stored size: 188 Bytes

Contents

module Loquor
  class ApiCall::Show < ApiCall

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

    def execute
      Loquor.get("#{@path}/#{@id}")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loquor-0.1.1 lib/loquor/api_calls/show.rb
loquor-0.1.0 lib/loquor/api_calls/show.rb
loquor-0.0.2 lib/loquor/api_calls/show.rb