Class: MendixBridge::Inventory::Element
- Inherits:
-
Data
- Object
- Data
- MendixBridge::Inventory::Element
- Defined in:
- lib/mendix_bridge/inventory.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#qualified_name ⇒ Object
readonly
Returns the value of attribute qualified_name.
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details
5 6 7 |
# File 'lib/mendix_bridge/inventory.rb', line 5 def details @details end |
#label ⇒ Object (readonly)
Returns the value of attribute label
5 6 7 |
# File 'lib/mendix_bridge/inventory.rb', line 5 def label @label end |
#path ⇒ Object (readonly)
Returns the value of attribute path
5 6 7 |
# File 'lib/mendix_bridge/inventory.rb', line 5 def path @path end |
#qualified_name ⇒ Object (readonly)
Returns the value of attribute qualified_name
5 6 7 |
# File 'lib/mendix_bridge/inventory.rb', line 5 def qualified_name @qualified_name end |
#raw ⇒ Object (readonly)
Returns the value of attribute raw
5 6 7 |
# File 'lib/mendix_bridge/inventory.rb', line 5 def raw @raw end |
#type ⇒ Object (readonly)
Returns the value of attribute type
5 6 7 |
# File 'lib/mendix_bridge/inventory.rb', line 5 def type @type end |
Instance Method Details
#module_name ⇒ Object
6 7 8 |
# File 'lib/mendix_bridge/inventory.rb', line 6 def module_name qualified_name&.split(".", 2)&.first end |
#to_h ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/mendix_bridge/inventory.rb', line 10 def to_h { label:, type:, qualified_name:, path:, raw:, details: }.compact end |