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 4c1d51e9760c808027ec7f559e80067744c78541
class
LogicMappingSerializer
<
ApplicationSerializer
class
Reference
<
ApplicationSerializer
attributes
:
iri
def
iri
urls.logic
_mapping_url
(
object
,
host
:
Settings.hostname
,
port
:
Ontohub
::
Application.config.port
)
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