Cross Reference: logic_mapping_serializer.rb
xref
: /
ontohub
/
app
/
serializers
/
logic_mapping_serializer.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
logic_mapping_serializer.rb revision 24ddae1e991141fca77d3703fbce61f6f6b0b8e1
class
LogicMappingSerializer
<
ApplicationSerializer
class
Reference
<
ApplicationSerializer
attributes
:
iri
def
iri
qualified_locid_for
(
object
)
end
end
attributes
:
iri
attributes
:
standardization_status
,
:
defined_by
,
:
faithfulness
,
:
exactness
,
:
projection
,
:
theoroidalness
has_one
:
source_logic
,
serializer
:
LogicSerializer
::
Reference
has_one
:
target_logic
,
serializer
:
LogicSerializer
::
Reference
def
iri
Reference.new
(
object
)
.
iri
end
def
source_logic
object.source
end
def
target_logic
object.target
end
end