method

known_attributes

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveResource::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

known_attributes() public

Returns the list of known attributes for this resource, gathered from the provided schema Attributes that are known will cause your resource to return ‘true’ when respond_to? is called on them. A known attribute will return nil if not set (rather than <t>MethodNotFound); thus known attributes can be used with validates_presence_of without a getter-method.

Show source
Register or log in to add new notes.