Class: Mosaic::Sdk::Models::Dna
- Defined in:
- lib/mosaic/sdk/models/dna.rb
Overview
Represents the collection of DNAs (funds) from the Mosaic API.
Allows listing DNAs via the /v2/dnas endpoint.
Each DNA can have multiple clones accessible through the
association defined on Instance.
Defined Under Namespace
Classes: Instance
Instance Method Summary collapse
-
#create ⇒ void
DNA creation is not supported by the Mosaic API.
-
#list(query = nil, type: nil) ⇒ Array<Instance>
Lists DNAs, optionally filtered by a search query and/or type.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mosaic::Sdk::Models::Base
Instance Method Details
#create ⇒ void
This method returns an undefined value.
DNA creation is not supported by the Mosaic API.
#list(query = nil, type: nil) ⇒ Array<Instance>
Lists DNAs, optionally filtered by a search query and/or type.