Cross Reference: commit_reference.rb
xref
: /
ontohub
/
app
/
models
/
commit_reference.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
class
CommitReference
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
attr_accessor
:
id
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
include
ActiveModel
::
Conversion
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
include
ActiveModel
::
Validations
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
extend
ActiveModel
::
Naming
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
def
initialize
(
id
)
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
@
id
=
id
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
end
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
def
persisted
?
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
false
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
end
46dd7ca898be6d5dbdfda64fd90ce01e253c0878
Julian Kornberger
end