Module: OAuth2::FilteredAttributes::ClassMethods
- Defined in:
- lib/oauth2/filtered_attributes.rb
Instance Method Summary collapse
Instance Method Details
#filtered_attribute_names ⇒ Object
12 13 14 |
# File 'lib/oauth2/filtered_attributes.rb', line 12 def filtered_attribute_names @filtered_attribute_names || [] end |
#filtered_attributes(*attributes) ⇒ Object
8 9 10 |
# File 'lib/oauth2/filtered_attributes.rb', line 8 def filtered_attributes(*attributes) @filtered_attribute_names = attributes.map(&:to_sym) end |