Skip to content

Documentation


Documentation / @blazetrails/activemodel / AttributeMethods / InstanceHost

Interface: InstanceHost ​

Defined in: packages/activemodel/lib/attribute-methods.ts:135

Extended by ​

Properties ​

_attributes? ​

optional _attributes?: { isKey: boolean; }

Defined in: packages/activemodel/lib/attribute-methods.ts:136

isKey() ​

isKey(name): boolean

Parameters ​
ParameterType
namestring
Returns ​

boolean


attributeMethodPatterns? ​

optional attributeMethodPatterns?: AttributeMethodPattern[]

Defined in: packages/activemodel/lib/attribute-methods.ts:138


attributes ​

attributes: Record<string, unknown>

Defined in: packages/activemodel/lib/attribute-methods.ts:137


constructor ​

constructor: AttributeMethodHost

Defined in: packages/activemodel/lib/attribute-methods.ts:139