Class: Services::SltcRegistration
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Services::SltcRegistration
- Defined in:
- app/models/services/sltc_registration.rb
Constant Summary collapse
- STATUS_NEW =
0
- STATUS_REGISTERED =
1
Instance Method Summary collapse
Instance Method Details
#account_code ⇒ Object
13 14 15 |
# File 'app/models/services/sltc_registration.rb', line 13 def account_code auth_username.split('@').last if auth_username.present? end |
#username ⇒ Object
17 18 19 |
# File 'app/models/services/sltc_registration.rb', line 17 def username auth_username.split('@').first if auth_username.present? end |