Flowdock
method

known_attributes

Importance_1
v3.0.5 - Show latest stable - 0 notes - Class: ActiveResource::Base
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.