Sha256: 969199cd3c34d69d2777c7fcd2fea8babb2b8a4245e021aff6c4221b216f73b4
Contents?: true
Size: 490 Bytes
Versions: 3
Compression:
Stored size: 490 Bytes
Contents
class AuthenticationMethod < ActiveRecord::Base preference :provider, :string preference :api_key, :string preference :api_secret, :string preference :environment, :string #after_save :reset_devise # #private # #def reset_devise # logger.debug("Self: #{self.environment}\nRails: #{RAILS_ENV}") # if (self.environment == RAILS_ENV) # SpreeSocial.reset_key_for(self.preferred_provider,self.preferred_api_key, self.preferred_api_secret) # end #end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_social-1.1 | app/models/authentication_method.rb |
spree_social-1.0.2 | app/models/authentication_method.rb |
spree_social-1.0.1 | app/models/authentication_method.rb |