Class: Sequencescape::Api::Resource
- Inherits:
-
Object
- Object
- Sequencescape::Api::Resource
- Extended by:
- Actions, Associations, Composition, Attributes, Groups
- Includes:
- ErrorHandling, ActiveModel, Groups::Json, InstanceMethods, Json, Modifications
- Defined in:
- lib/sequencescape-api/resource.rb
Direct Known Subclasses
Sequencescape::Asset, Sequencescape::AssetAudit, Sequencescape::AssetGroup, BaitLibraryLayout, BarcodePrinter, Batch, Behaviour::Receptacle::Aliquot, BulkTransfer, Comment, CustomMetadatumCollection, ExtractionAttribute, LibraryEvent, Lot, LotType, Order, OrderTemplate, Pipeline, PlateConversion, PlateCreation, PlatePurpose, PooledPlateCreation, Project, QcDecision, QcFile, Qcable, QcableCreator, Request, Robot, Sample, Search, SpecificTubeCreation, Stamp, StateChange, Study, Submission, SubmissionPool, Tag2Layout, Tag2LayoutTemplate, TagGroup, TagLayout, TagLayoutTemplate, Template, Transfer, TransferRequest, TransferRequestCollection, TransferTemplate, TubeCreation, TubeFromTubeCreation, TubePurpose, User, VolumeUpdate, WorkCompletion
Defined Under Namespace
Modules: ActiveModel, Attributes, Groups, InstanceMethods, Json, Modifications
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(*args, &block) ⇒ Resource
constructor
A new instance of Resource.
Methods included from Attributes
Methods included from Groups
Methods included from Associations
Methods included from Composition
Methods included from Actions
Methods included from Json
#as_json, #changed?, #coerce_to, included
Methods included from ErrorHandling
Methods included from Modifications
Methods included from InstanceMethods
Methods included from ActiveModel
Constructor Details
#initialize(*args, &block) ⇒ Resource
Returns a new instance of Resource.
30 31 32 33 |
# File 'lib/sequencescape-api/resource.rb', line 30 def initialize(*args, &block) super after_load end |
Class Method Details
.is_a_proxied_model? ⇒ Boolean
44 45 46 |
# File 'lib/sequencescape-api/resource.rb', line 44 def self.is_a_proxied_model? false end |