lib/ninsho.rb in ninsho-0.1.1 vs lib/ninsho.rb in ninsho-0.1.2
- old
+ new
@@ -40,9 +40,13 @@
@@parent_resource_name = 'User'
# Hash which contains omniauth configurations
mattr_reader :omniauth_configs
@@omniauth_configs = ActiveSupport::OrderedHash.new
+
+ # Attributes to be updated to the parent resource class
+ mattr_accessor :parent_resource_holding_attributes
+ @@parent_resource_holding_attributes = []
# Default setup for Ninsho.
# Run the rails g ninsho:install to create a fresh initializer
def self.setup
yield self