Skip to content

Commit

Permalink
Add physical chassis details builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadej Borovšak committed Sep 4, 2018
1 parent 41b294f commit 41018eb
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ def physical_chassis
add_common_default_values
end

def physical_chassis_details
add_properties(
:model_class => ::AssetDetail,
:manager_ref => %i(resource),
:parent_inventory_collections => %i(physical_chassis)
)
end

def physical_storages
add_common_default_values
end
Expand Down

0 comments on commit 41018eb

Please sign in to comment.