method

known_attributes

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.