Sha256: 5ccf67b9525e1264c2ce9c20cb5061262092e1bc9c47a08c501193c93f0cfd20
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
module Transcriber class Resource class Embeddable < Association autoload :Parser, "transcriber/resource/key/embeddable/parser" autoload :Response, "transcriber/resource/key/embeddable/response" include Parser include Response attr_accessor :fields def initialize(name, options = {}) super if fields = options[:fields] @class_name = :array @fields = fields end end def raw? [Hash, Array].include?(resource_class) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transcriber-0.0.26 | lib/transcriber/resource/key/embeddable.rb |