lib/devise/api/configuration.rb in devise-api-0.1.2 vs lib/devise/api/configuration.rb in devise-api-0.1.3

- old
+ new

@@ -18,9 +18,13 @@ setting :expires_in, default: 1.week, reader: true setting :generator, default: proc { |_resource_owner| ::Devise.friendly_token(60) }, reader: true setting :expires_in_infinite, default: proc { |_resource_owner| false }, reader: true end + setting :sign_up, reader: true do + setting :enabled, default: true, reader: true + end + setting :authorization, reader: true do setting :key, default: 'Authorization', reader: true setting :scheme, default: 'Bearer', reader: true setting :location, default: :both, reader: true # :header or :params or :both setting :params_key, default: 'access_token', reader: true