Sha256: 594f7b72fd1f634f4931c1ffea9462c6800b873138f4dc84dc816e4ebef7ad74
Contents?: true
Size: 224 Bytes
Versions: 2
Compression:
Stored size: 224 Bytes
Contents
module Loquor class ApiCall::Show < ApiCall def initialize(path, id) super(path) @id = id end def execute obj = Loquor.get("#{@path}/#{@id}") Representation.new(obj) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loquor-0.2.0 | lib/loquor/api_calls/show.rb |
loquor-0.1.2 | lib/loquor/api_calls/show.rb |