Class: Sipity::Models::Sip

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

Overview

The most basic of information required for generating a valid SIP.

Constant Summary collapse

ALREADY_PUBLISHED =
'already_published'.freeze
WILL_NOT_PUBLISH =
'will_not_publish'.freeze
GOING_TO_PUBLISH =
'going_to_publish'.freeze
DO_NOT_KNOW =
'do_not_know'.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#:processing_state The processing state of the sip.(:processing_stateTheprocessingstateofthesip.) ⇒ String

Returns:

  • (String)

11
# File 'app/models/sipity/models/sip.rb', line 11

alias_attribute :processing_status, :processing_state

Instance Method Details

#possible_work_publication_strategiesObject


44
45
46
# File 'app/models/sipity/models/sip.rb', line 44

def possible_work_publication_strategies
  self.class.work_publication_strategies
end