Sha256: 8bc7e88d35e3653d137b361a0b962225f9ffa6f2f1b730fa6ea33e01bb2e8417
Contents?: true
Size: 394 Bytes
Versions: 1
Compression:
Stored size: 394 Bytes
Contents
class DigitalAssetLookupService def 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
daengine-0.2.13 | app/service/digital_asset_lookup_service.rb |