Sha256: 0a6a21ccf59d161c29779227e07076bd7f4ccbb0be06028d8242ad0d8d4cb689
Contents?: true
Size: 280 Bytes
Versions: 31
Compression:
Stored size: 280 Bytes
Contents
module ACTV class AssetFactory attr_reader :response def initialize response_body @response = response_body end def asset types = ACTV::Asset.types klass = types.find { |type| type.valid? response } klass.new response end end end
Version data entries
31 entries across 31 versions & 1 rubygems