Module: CognitoRails::Model
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/cognito_rails/model.rb
Overview
ActiveRecord model extension
Instance Method Summary collapse
Instance Method Details
#cognito_external_id ⇒ String
76 77 78 |
# File 'lib/cognito_rails/model.rb', line 76 def cognito_external_id self[self.class._cognito_attribute_name] end |
#cognito_external_id=(value) ⇒ String
82 83 84 |
# File 'lib/cognito_rails/model.rb', line 82 def cognito_external_id=(value) self[self.class._cognito_attribute_name] = value end |