Sha256: 5431749b2f0211b9b5c17e82f7ed11432a313835331a12cfde8efcd81abae902
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
module Typekit module Processing class Translator def process(result) unless result.is_a?(Hash) && result.length == 1 raise Error, 'Unknown server response' end name, object = *result.first Converter.build(name).process(result, object) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typekit-client-0.0.5 | lib/typekit/processing/translator.rb |
typekit-client-0.0.4 | lib/typekit/processing/translator.rb |