lib/loquor/api_calls/show.rb in loquor-0.1.1 vs lib/loquor/api_calls/show.rb in loquor-0.1.2
- old
+ new
@@ -5,9 +5,10 @@
super(path)
@id = id
end
def execute
- Loquor.get("#{@path}/#{@id}")
+ obj = Loquor.get("#{@path}/#{@id}")
+ Representation.new(obj)
end
end
end