Sha256: cfa365b3144100ae60b07c051ab9964586264c693708c8480df7333996d1c78b
Contents?: true
Size: 399 Bytes
Versions: 2
Compression:
Stored size: 399 Bytes
Contents
class DigitalAssetLookupService def self.find_documents_by_fund_code(fund_code) da=[] taxonomy_term = TaxonomyTerm.send(:fund_code_is, fund_code) unless taxonomy_term.nil? p "Found product_id => #{taxonomy_term[0].term_id} for fund_code => #{fund_code} from Taxonomy." da = DigitalAsset.send(:product_in, [taxonomy_term[0].term_id]) end da end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
daengine-0.2.15 | app/service/digital_asset_lookup_service.rb |
daengine-0.2.14 | app/service/digital_asset_lookup_service.rb |