lib/domain/asset_group/api.rb in avs-0.0.9 vs lib/domain/asset_group/api.rb in avs-0.1.0

- old
+ new

@@ -57,9 +57,10 @@ cached_asset_groups[name] = asset_group asset_group end def fetch_asset_group_by_name(name) + puts 'fetch_asset_group_by_name' fetch_all('/asset_groups', name:) do |resource| asset_group = AssetGroup.from_json(resource) return asset_group if asset_group.name == name end nil