Class: Sipity::Models::AccountPlaceholder

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/sipity/models/account_placeholder.rb

Overview

Responsible for persisting requests for an Account Placeholder

Constant Summary collapse

CREATED_STATE =
'created'.freeze
CLAIMED_STATE =
'claimed'.freeze
NETID_IDENTIFIER_TYPE =
'netid'.freeze
ORCID_IDENTIFIER_TYPE =
'orcid'.freeze

Instance Method Summary collapse

Instance Method Details

#set_initial_stateObject (private)


31
32
33
# File 'app/models/sipity/models/account_placeholder.rb', line 31

def set_initial_state
  self.state ||= CREATED_STATE
end