Class: Mosaic::Sdk::Models::Clone
- Defined in:
- lib/mosaic/sdk/models/clone.rb
Overview
Represents the collection of clones (fund share classes) from the Mosaic API.
Clones can be accessed either standalone via /v2/clones or nested
under a DNA via /v2/dnas/:dna_id/clones. The context is determined
automatically based on the presence of a :dna_id in the extra context.
Defined Under Namespace
Classes: Instance
Instance Method Summary collapse
-
#create(name:, codes:, source:, dna_id: @extra[:dna_id], account_references: []) ⇒ Instance
Creates a new clone.
-
#list(query = nil, type: nil) ⇒ Array<Instance>
Lists clones, optionally filtered by a search query and/or code type.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Mosaic::Sdk::Models::Base